updating ftp upload functionality. adding better backup file handling