Remotely Hosted Server Question

Discussion in 'Site & Server Administration' started by namd3r, Mar 20, 2007.

  1. #1
    I was wondering, is it possible to download files directly to a remotely hosted server? I have a hosting plan on some server that is God knows where, but I have ftp access and everything to it and an ip address...can I download files directly to the server? Or do I have to download them to my computer first, then upload them?
     
    namd3r, Mar 20, 2007 IP
  2. namd3r

    namd3r Active Member

    Messages:
    135
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Sorry, I can't just leave this thread alone, because I kinda need help with it quickly.

    What I am looking for is a way to download files from any url; ftp, http, whatever; straight to my server. I don't want anything coming to me and my computer because I have to pay by the GB. I have unmetered bandwidth and space on my server account that I am paying for but do not host myself. I just need some way to get files off of the Internet, straight into my public_html or root folder without having to completely download all of the files to my computer and then re-upload.
     
    namd3r, Mar 20, 2007 IP
  3. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you have ssh access, then you can wget files directly.

    If not, then install some php script which can grab some remote files and save to your server directly (like rapidshare url upload).
     
    agnivo007, Mar 20, 2007 IP
  4. namd3r

    namd3r Active Member

    Messages:
    135
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Okay, how do I tell if I have this kind of access? And after that, how do I use wget?
     
    namd3r, Mar 20, 2007 IP
  5. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Do you own a VPS or dedicated server? Then most probably you'd have SSH access. Generally, shared and reseller accounts don't have SSH access.

    Say, you have and logged in through SSH to your server, then to download a file, type :

    
    cd [required directory]
    wget http://www.domain.com/file.zip
    
    Code (markup):
     
    agnivo007, Mar 20, 2007 IP
  6. stugs

    stugs Peon

    Messages:
    157
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You can use SFTP between servers. SFTP should be installed on just about any unix box.

    Here is a page covering how to use it.
    http://kb.iu.edu/data/akqg.html

    basically go into the directory that contains the files you want to upload. Type 'sftp ' and enter your password when prompted. You can then type 'mput *.zip' or 'mput *.html' to upload files to the other host.
     
    stugs, Mar 21, 2007 IP