How to move files using FTP commands

前端 未结 2 875
温柔的废话
温柔的废话 2020-12-01 00:01

Path of source file is : /public_html/upload/64/SomeMusic.mp3

And I want to move it to this path : /public_html/archive/2011/05/64/SomeMusic.mp3

2条回答
  •  囚心锁ツ
    2020-12-01 00:45

    Just in case someone else will search for a solution to move files by ftp and will not find a solution: As I encountered the same problem and even the RNFR and RNTO will not work like in my case: I solved this by doing the following workaround:

    mget files*.ext
    cd /path/to/desired/folder/
    mput files*.ext
    

    This is twice the traffic (get and put) but for smaller files it is at least a solution.

提交回复
热议问题