Hello Steve, I tried this on my own servers and after replacing "<OUR FTP SERVER>" with $ftp_server it works perfectly, all ASCII files get uploaded the way they should with the correct filenames. Do you get any errors? (add error_reporting(E_ALL); above the login vars to show them all) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php