tags:

views:

43

answers:

2

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.

+1  A: 

I don't 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 seen so far supported something like this.

schnaader
+1  A: 

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.

Greg Hewgill