FTP copy a file to another place in same FTP

2020-01-27 05:50发布

I need to upload same file to 2 different place in same FTP. Is there a way to copy the file on the FTP to the other place instead of upload it again? Thanks.

标签: ftp
8条回答
一夜七次
2楼-- · 2020-01-27 05:52

You can do this from C-Panel.

  1. Log into your C-Panel.
  2. Go into file manager.
  3. Find the file or folder you want to duplicate.
  4. Right-click and chose Copy.
  5. Type in the new director you want to copy to.

Done!

查看更多
放我归山
3楼-- · 2020-01-27 06:05

You can rename the file to be copied into the full path of your wanted result.

For example: If you want to move the file "file.txt" into the folder "NewFolder" you can write it as

ftp> rename file.txt NewFolder/file.txt

This worked for me.

查看更多
唯我独甜
4楼-- · 2020-01-27 06:10

I can copy files between remote folders in Linux based systems. In my particular case, I'm using very common file manager PCManFM:

  • Menu "Go" --> "Connect to server"
  • FTP Login info, etc
  • Open new tab in PCManFM
  • Connect to same server
  • Copy from tab to tab...

It's a bit slow, so I guess that it could be downloading and uploading back the files, but it's done automatically and very user-friendly.

查看更多
迷人小祖宗
5楼-- · 2020-01-27 06:13

Yes, the FTP protocol itself can support this in theory. The FTP RFC 959 discusses this in section 5.2 (see the paragraph starting with "When data is to be transferred between two servers, A and B..."). However, I don't know of any client that offers this sort of dual server control operation.

Note that this method could transfer the file from the FTP server to itself using its own network, which won't be as fast as a local file copy but would almost certainly be faster than downloading and then reuploading the file.

查看更多
兄弟一词,经得起流年.
6楼-- · 2020-01-27 06:15

I managed to do this by using WebDrive to mount the ftp as a local folder, then "download" the files using filezilla directly to the folder. It was a bit slower than download normally is, but you dont need to have the space on your hdd.

查看更多
啃猪蹄的小仙女
7楼-- · 2020-01-27 06:17

I don't think there's a way to copy files without downloading and re-uploading, at least I found nothing like this in the List of FTP commands and no client I have seen so far supported something like this.

查看更多
登录 后发表回答