Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

If I use a DOS put command to ftp a file, will it overwrite an existing file, append to it, or cause an error?

Tags:

ftp

dos

If I use a DOS put command to ftp a file, will it overwrite an existing file, append to it, or cause an error?

like image 395
donde Avatar asked Jun 03 '10 13:06

donde


People also ask

Does FTP PUT command overwrite existing file?

It will overwrite. Guess it depends on which side you want to overwrite.

What is the FTP Put file command do?

Use the put command to upload files to Supply Chain Business Network. Use the Multiple Put ( mput ) command with the wildcard character ( * ) to upload multiple files. Some FTP clients require you to manually acknowledge each file name when executing the mput command.

What will happen when the give FTP command is executed?

If you execute the ftp command and specify the host name (HostName) of a remote host, the ftp command tries to establish a connection to the specified host. If the ftp command connects successfully, the ftp command searches for a local $HOME/. netrc file in your current directory or home directory.


2 Answers

put and get will both overwrite

like image 89
SQLMenace Avatar answered Sep 16 '22 13:09

SQLMenace


Do you mean if you use a 'put' command in the command line ftp app? It will overwrite.

like image 44
DougN Avatar answered Sep 17 '22 13:09

DougN