Attempt #5 at correcting ftp upload