Transfer files from server to server?

Discussion in 'Site & Server Administration' started by Le GoogelGuRu, Nov 22, 2008.

  1. #1
    My friend has some files that I'm getting from him but I'm on dial-up at home so it takes a long time to download the files. The files would be copied back to my website anyway. I have a site and FTP access to it so would it be possible for a script or something on my site to FTP into (with SSL) his server and download the files from his server to my server? I have a username and password (FTP) to his server and can download to my computer but I want to know if it's possible to download via FTP to my website without having to download it to my computer first and then upload it back to my server.

    Thanks!
     
    Le GoogelGuRu, Nov 22, 2008 IP
  2. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #2
    If both the web site is on Linux and SSH is enabled for both the domain then you can easily transfer the files in short time. Just create an archive using tar and download it to your hosting server using wget.

    Kailash
     
    kailash, Nov 22, 2008 IP
  3. triphp123

    triphp123 Well-Known Member

    Messages:
    1,491
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    125
    #3
    kailash is right, this can be done easily via SSH
     
    triphp123, Nov 22, 2008 IP
  4. Le GoogelGuRu

    Le GoogelGuRu Guest

    Messages:
    864
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The other end I think is just a computer or something that's configured to let me download stuff through FTP (I kinda worded it weird), he never really made it clear. I just connect to the IP address through FTP with my username/password and download it.

    Is there a script I can run from my server so my server can connect to that IP with my username/password and download things directly to it?
     
    Le GoogelGuRu, Nov 22, 2008 IP