Attempt #3 at correcting ftp upload