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?
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.Sign up to join this community
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:email@example.com; lcd ./web; cd /web/public_html; mirror --reverse --delete --use-cache --verbose --allow-chown --allow-suid --no-umask --parallel=2 --exclude-glob .svn"