I'm trying to upload big files to my ftp. I know my webhost has a max upload limit on 20MB, but that's why I'm trying to upload using ftp instead of the regular one here first. Can someone explain why I don't seem to be able to upload big files with the ftp code, I was under the impression it had no limit on ftp uploads.. or am I missing something?
The regular code:
$conn_id = ftp_connect("ftp.myserver.com");
$login_result = ftp_login($conn_id, "user", "pass");
$source_file = $selectedFile;
$destination_file = $myFileName;
$upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY);