Attempt #2 at correcting ftp upload