Home
last modified time | relevance | path

Searched refs:ftp_get (Results 1 – 7 of 7) sorted by relevance

/PHP-7.4/ext/ftp/tests/
H A Dftp_get_basic.phpt2 FTP ftp_get file for both binary and ASCII transfer modes
20 var_dump(ftp_get($ftp, $tmpfname ,'a story.txt', FTP_ASCII));
26 var_dump(ftp_get($ftp, $tmpfname, 'binary data.bin', FTP_BINARY));
31 ftp_get($ftp, $tmpfname ,'a warning.txt', FTP_ASCII);
33 //test invalid ftp_get params
34 var_dump(ftp_get('foo', 'bar', 'baz'));
43 Warning: ftp_get(): a warning: No such file or directory in %sftp_get_basic.php on line %d
45 Warning: ftp_get() expects parameter 1 to be resource, string given in %s on line %d
H A D005.phpt25 var_dump(ftp_get($ftp, 'x', 'y', 0));
62 Warning: ftp_get(): Mode must be FTP_ASCII or FTP_BINARY in %s005.php on line 18
H A D007.phpt31 var_dump(ftp_get($ftp, 'local', 'remote', 7777));
102 Warning: ftp_get(): supplied resource is not a valid FTP Buffer resource in %s007.php on line %d
/PHP-7.4/ext/ftp/
H A Dphp_ftp.h58 PHP_FUNCTION(ftp_get);
H A Dftp.h184 int ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, const size_t path_len, ftptype…
H A Dphp_ftp.c270 PHP_FE(ftp_get, arginfo_ftp_get)
882 if (!ftp_get(ftp, stream, file, file_len, xtype, resumepos)) { in PHP_FUNCTION()
971 PHP_FUNCTION(ftp_get) in PHP_FUNCTION() argument
1022 if (!ftp_get(ftp, outstream, remote, remote_len, xtype, resumepos)) { in PHP_FUNCTION()
H A Dftp.c893 ftp_get(ftpbuf_t *ftp, php_stream *outstream, const char *path, const size_t path_len, ftptype_t ty… in ftp_get() function

Completed in 25 milliseconds