How to do a move in FTP

Hello,

I need to do a move for a file when I am connected to a server with Ftp.

Is that possible ???

Thanks...

Two possible situations in this case.

  1. You want to move the file you just transferred.
  2. You want to move a file which was not transferred.

For 1. you can ftp as follows

get/put original.file.name new.file.name

i.e. you can decide what name to want to save it as. If, new.file.name is not provided, original.file.name is picked up.

For case 2. I dont know.. :frowning:

Vino

i presume u r concerned about a move(rename)

you have rename command in FTP (standards)

ftp>help

you will have rename command there

You can use and this too:
$ ftp
ftp > open site.com
lcd ~/uploads # local navigation
put file.c
get file.c