I don't think it's possible but still I would like to ask if there is any command to transfer a remote file from one directory to other at an FTP prompt.
In more detail: I run ftp
to a remote machine. I am at the ftp
prompt, in the directory /a
. By mistake, I have uploaded a file (via put
) to this directory, but that's the wrong directory. I want to move the file from this directory to /a/b
on the remote machine. Can I do this from the FTP prompt?
I have checked and I cannot telnet to that machine. If this is impossible in FTP, is there another way I can move the file and avoid having to transfer it again?