PHP ftp_set_option() May 14, 2012 Pramod T P It sets miscellaneous runtime FTP options Example <?php $ftpId = ftp_connect(‘ftp.phpcodez.com’); $login = ftp_login($ftpId, ‘anonymous’, ‘user@phpcodez.com’); ftp_set_option($ftpId, FTP_TIMEOUT_SEC, 10); ftp_quit($ftpId); ?>