Attempt #6 at correcting ftp upload