Lines Matching refs:instream
957 php_stream *instream; in PHP_FUNCTION() local
965 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS… in PHP_FUNCTION()
983 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
987 if (!ftp_put(ftp, remote, remote_len, instream, xtype, startpos)) { in PHP_FUNCTION()
988 php_stream_close(instream); in PHP_FUNCTION()
994 php_stream_close(instream); in PHP_FUNCTION()
1009 php_stream *instream; in PHP_FUNCTION() local
1017 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS… in PHP_FUNCTION()
1021 if (!ftp_append(ftp, remote, remote_len, instream, xtype)) { in PHP_FUNCTION()
1022 php_stream_close(instream); in PHP_FUNCTION()
1028 php_stream_close(instream); in PHP_FUNCTION()
1043 php_stream *instream; in PHP_FUNCTION() local
1051 …if (!(instream = php_stream_open_wrapper(local, mode == FTPTYPE_ASCII ? "rt" : "rb", REPORT_ERRORS… in PHP_FUNCTION()
1069 php_stream_seek(instream, startpos, SEEK_SET); in PHP_FUNCTION()
1077 ret = ftp_nb_put(ftp, remote, remote_len, instream, xtype, startpos); in PHP_FUNCTION()
1080 php_stream_close(instream); in PHP_FUNCTION()