Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm having to use FTP on a client project, which is proving pretty painful as I usually use my own servers and ssh, etc.

One apparent limit of FTP that doesn't seem to make sense crops up when I'm trying to shift files between two directories that are both on the server. It seems that with FTP all of the files have to be downloaded to the local machine (i.e., the machine running the FTP client) first, and then re-uploaded to the remote server.

Is there any way round this if I'm only using FTP?

share|improve this question
    
What FTP server is in use? Some FTP servers support the help command which will tell you what functions it supports. –  jeffatrackaid Dec 28 '11 at 19:14
    
pastebin.com/B8tWz6ew lists the functions supported on the server –  Jim Dec 28 '11 at 19:50

1 Answer 1

Depends on the FTP server, but try "rename [filename] [newfilename]".

rename [filename] [/dir/newdir/filename]

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.