If you have ssh login, it’s easier to compress the whole folder, transfer the compressed file, then decompress it. You can ask your hosting vendor for that too
Sorry, I overreacted. Provider will copy files but at their leisure. So I just thought that for smaller transfers php or perl script would be ideal, because if I wait for provider it takes too long and if I download and upload it again it takes too long.
I wrote a PHP script to move a series of HUGE (28mb) mp3 files from one server to another. I’m sure that, because I was looking at specific file name formats, my script would be inefficient but the data FLEW from one to the other! If you ask in the PHP forum, I’m sure you’d be inundated with excellent scripts/classes to do this for you.
cPanel (WHM, actually) has exactly the feature you’re talking about - provided both hosts are using cPanel. All you need is your login for both server’s cPanels (the new one does the transfer using the old one’s login).
When you change server for your sites. If it is a download or movies site. It spend a lot of time to move files from old server to new server.
I have found a great script that helps transfering directly files from old server to new server and very quick because the speed of traffic between 2 servers is fast.
It is very fast and can move multi files: dlvn.net/web-development/move-files-from-server-to-server/