I have a bunch of movies that I\'m trying to transfer from my CentOS server onto my Windows PC. But when I run them through this script they end up being corrupt. Is there s
You're trying to upload something other than a text-based file while using
(ftp_put($conn_id, $remote_file, $localfile, FTP_ASCII))
You should be using FTP_BINARY instead of FTP_ASCII since movies (and images) are binary files.
FTP_BINARY
FTP_ASCII