How can I transfer large files from old-domain.com(old-host) to new-domain.com(new-host)? Is it possible to transfer it without downloading the files from my old-host to my local pc? I have an FTP details of both.

  • 2
    Do you have SSH (Secure shell) access to your new hosting account?
    – Matt
    Dec 3, 2011 at 7:05
  • 1
    Yes I do have SSH access.
    – cloud 9
    Dec 3, 2011 at 7:16
  • @matt i found a solution but it needs my PC on for hours/days.FXP.
    – cloud 9
    Dec 3, 2011 at 7:17
  • Okay, well see my answer below. It doesn't require your PC to be an intermediary. If it's what you're looking for, be sure to mark it as the accepted answer.
    – Matt
    Dec 3, 2011 at 7:23
  • @Matt I dunno how to use it.Actually my aunt ask me a favor If I can transfer her website to my another aunt hosting so that it's she's free from payment.AL I have are cpanel/ftp details.And I never expect that It's a large wordpress site that she maintains since Year.2008.
    – cloud 9
    Dec 3, 2011 at 8:23

2 Answers 2


From my experience, wget is the ideal tool for your task. You can tweak it hundreds of ways to download exactly what you need in just the way you need it. You can even download to your new server the entire website with one single command. Wget also has features to efficiently try again if it was unsuccessful or if the file was only partially completely downloaded.

I use wget every time my Internet connection is flaky and I need to download a backup of my website. It has failsafes to get the job done in harsh conditions.

Or, for "special" big files that aren't accessible via a regular URL, you could establish an actual FTP connection in the shell of your new account and have the server directly pull down the big files that way.

  • how can i done it?
    – cloud 9
    Dec 3, 2011 at 8:19
  • @Matt wget also handles FTP (including recursively downloading a directory)
    – Andy
    Dec 3, 2011 at 11:49
  • (@ Andy) Good point. I forgot about that. @cloud9 You'll need an SSH client. If you're on Windows, Putty is a good one. Connect to your new server and type "wget fileurl.com/file.zip" or whatever the file is. Now, that's the most basic use of wget. You might want to explore all its features with "man wget".
    – Matt
    Dec 3, 2011 at 16:08
  • @Matt how about if it's an ftp?How can I use ftp by combining get?
    – cloud 9
    Dec 8, 2011 at 2:44
  • In SSH, type "man wget" then follow the instructions for the FTP options. Don't forget to mark the answer here as accepted, too.
    – Matt
    Dec 8, 2011 at 5:53

SCP is ideal for this, SCP Usage Documentation:

scp source-file [[user@]to-host:][destination-file]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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