Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to download files from other server???

Discussion in 'General Discussion' started by Neso, Feb 18, 2009.

  1. Neso

    Neso Active Member

    Feb 11, 2009
    Likes Received:
    Trophy Points:
    I need to download files from other server to my server ... How can I do theat with Cpanel 11 ...
    Also server where are files is pass protected ...

    Please help if you can ...
    Thank you
  2. JPC-Shaun

    JPC-Shaun Well-Known Member

    Oct 29, 2008
    Likes Received:
    Trophy Points:

    There are several options to download files from some source server to your destination server. The most reliable and the fast way to do this is by using some FTP client.


    This can also be accomplished by using SSH. SSH is a network protocol that allows data to be exchanged over a secure channel between two computers. Now a days nearly every web host provides this on request. You will need the PuTTy client or SecureCRT to connect to your server via SSH.

    Once you are connected via PuTTy just follow the instructions:

    1. Login to destination server via SSH and open the folder in which you want to download the files.

    cd /home/somepath/to/yourwebsite/public_html

    2. Use the command below to fetch the file from the source server
    wget OR IP of source server/file to download.

    If the source location is a file inside some Cpanel account then it must be
    password protected in this case use this command:

    wget ftp://Cpanel accountusername:Cpanel account of the file


    You can also use SSH command Prompt by logging into your source server and transferring the files to the destination server using the rsync command.

    /usr/bin/rsync -zaHlv -e /usr/bin/ssh /path/to/your/source/file destination server FTP or Cpanel username@Destination server IP :/path/at/the/destination/server/
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice