Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have many images in my server and I want transfer my data to another server.

I want combine those files to one file and then FTP. I am using 7-zip with "store" option to make one file, but it is very slow.

Is there any fast solution?

share|improve this question
    
Are these servers local to each other? or connected via the net? –  Darkcat Studios Aug 28 '13 at 9:51
    
Both servers are online web servers, but i think it is not important –  mmtemporary Aug 28 '13 at 10:28
    
Are you looking for the fastest overall solution or the fastest for you solution? Fastest overall would be what you are doing, the fastest for you would just be to go to your new server and download everything (ignoring the fact that you're wasting a little bandwidth to be so lazy). –  krowe Aug 28 '13 at 13:38
add comment

1 Answer

If you can open access via ssh between your servers, then using rysnc to transfer the data would be much faster than ftp. Rsync automatically transfers data in batches and if you have to run the transfer multiple times, it only has to transfer the data that has changed.

Unfortunately, rsync does not work over ftp but this question on serverfault suggests that some ftp clients do rsync like "mirror" checks for the case that you have to keep two directories in sync:

lftp and ncftp both have "mirror" modes that will probably meet your needs.

I use this to push stuff from my local directory to a ftp or sftp web host:

lftp -c "set ftp:list-options -a;
open ftp://user:password@your.ftp.com; 
lcd ./web;
cd /web/public_html;
mirror --reverse --delete --use-cache --verbose --allow-chown --allow-suid --no-umask --parallel=2 --exclude-glob .svn"
share|improve this answer
add comment

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.