Return to Snippet

Revision: 65585
at December 26, 2013 22:28 by Sadeveloper


Initial Code
/* php code */
$ftp = ftp_connect("host");
ftp_login($ftp, "usr", "pwd");
echo count(ftp_nlist($ftp, 'uploads/'));
ftp_close($ftp);

Initial URL
http://www.softafzar.net/thread1506.html/

Initial Description
Count number of files on a  ftp server

Initial Title
Count number of files on a  ftp server

Initial Tags
files

Initial Language
PHP