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

I want to transfer files from a server here in US to another one in China, and I wonder what's the best way to do it? Is there anything special needed to be considered compared to other file transfer (e.g. within a country)?

Also, does the optimal approach depend on the file size? Say, a 1 TB file vs. a 10 KB text file?

Thanks!

share|improve this question

closed as off-topic by Iain, EEAA, MadHatter, ceejayoz, HopelessN00b May 5 at 17:26

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – EEAA, ceejayoz
If this question can be reworded to fit the rules in the help center, please edit the question.

2  
The Time taken will be different. –  Iain May 5 at 15:41
    
@lain, of course. But what I meant is whether the optimal approach would be different for different file sizes. –  chaohuang May 5 at 15:47
1  
Why don't you spend 15 minutes benchmarking and see? –  ceejayoz May 5 at 15:56
    
@ceejayoz could you give me some options? Thanks. –  chaohuang May 5 at 15:58
1  
FTPing a big file (say 1GB) will be faster than sending 1,000,000 x 1kB files. If it gets into 100's of GB, DHL is faster still. –  xcxc May 5 at 16:20

1 Answer 1

Depends on what you want to do.It's almost always faster to copy a single 10 gig file than 10 gig with 1000's of small files (because of connections etc) although you could speed up the small file size by using concurrent connections.

SFTP/SCP are good bets for general use. Rsync and Robocopy (windows only) are more specific tools.Torrents are a very efficient way to transmit large files to multiple systems as long as they all trust each other.

If you have a lot of files and are only updating some of them then a differential copy can be a lot more efficient.

share|improve this answer

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