Lines Matching refs:instream
1237 php_stream *instream; in PHP_FUNCTION() local
1248 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS… in PHP_FUNCTION()
1266 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1270 if (!ftp_put(ftp, remote, remote_len, instream, xtype, startpos)) { in PHP_FUNCTION()
1271 php_stream_close(instream); in PHP_FUNCTION()
1275 php_stream_close(instream); in PHP_FUNCTION()
1291 php_stream *instream; in PHP_FUNCTION() local
1302 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS… in PHP_FUNCTION()
1306 if (!ftp_append(ftp, remote, remote_len, instream, xtype)) { in PHP_FUNCTION()
1307 php_stream_close(instream); in PHP_FUNCTION()
1311 php_stream_close(instream); in PHP_FUNCTION()
1327 php_stream *instream; in PHP_FUNCTION() local
1338 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS… in PHP_FUNCTION()
1356 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1364 ret = ftp_nb_put(ftp, remote, remote_len, instream, xtype, startpos); in PHP_FUNCTION()
1367 php_stream_close(instream); in PHP_FUNCTION()