Attempt #4 at correcting ftp upload