ftp move

There is no move command in ftp client, but it’s possible to do move with help of command rename. Make sure, that directory, into which you are going to move a file, exists.

Example: Let’s say, there is a file abc.war in a current directory, and we would like to move it into new directory alpha/beta/gama
Solution:

ftp>mkdir alpha
ftp>mkdir alpha/beta
ftp>mkdir alpha/beta/gama
ftp>rename abc.war alpha/beta/gama/abc.war

This entry was posted in workday. Bookmark the permalink.

Leave a Reply