Linux – ftp command line without overwrite

command lineftplinuxmac

I transfered 15gb over the network. I have aother 10 to go. How do i transfer via cmd line without overwriting existing files? I want to skip files so i dont store it again. I dont need unique names for this.

Best Answer

The man page for ftp lists the sunique and runique FTP subcommands which toggle saving files with unique filenames, as a way of avoiding overwriting existing files:

ie, file.1 if file exists, file.2 if file.1 exists, etc.

These are ftp commands, not OS command-line options for ftp, but I think the .netrc file could be used to toggle sunique or runique from the default OFF state when ftp starts.