removes duplicate upload commands to reduce FTP traffic