1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to download files from other server???

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

  1. Neso

    Neso New Member

    Joined:
    Feb 11, 2009
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hi,
    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 Member

    Joined:
    Oct 29, 2008
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Hi;

    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.

    2.

    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 yourdomain.com 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 passwd@domainname.com/name of the file

    3.

    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/
     

Share This Page