PHP ftp_size() May 14, 2012 Pramod T P It returns the size of the given file Example <?php $ftpId = ftp_connect(‘ftp.phpcodez.com’); $login = ftp_login($ftpId, ‘anonymous’, ‘user@phpcodez.com’); ftp_size($ftpId, “test”) or die(“Failed”); ftp_quit($ftpId); ?>