Question - transferring big files directly to web server - How can it be done?

Discussion in 'Site & Server Administration' started by msm365, Nov 23, 2007.

  1. #1
    Hi everyone,

    I need to transfer fairly large files to my webserver - and dont want to have to download them to my PC and then upload to the webserver.

    Is there an easier way to do this.

    I was thinking of something in PHP that you could just enter the URL, and then it downloads that file directly onto the webserver and places it into the current directory.

    anyone have any ideas on this

    Thanks
     
    msm365, Nov 23, 2007 IP
  2. alemcherry

    alemcherry Guest

    Best Answers:
    0
    #2
    No need to download to the local computer, that is a total waste of time.

    I am not sure if you want to transfer from one of your servers or download from the net. In either case, if you have telnet/ssh/GUI access to one of the new server, it is pretty easy. Just login to the new server and download directly using ftp or http. You must be familier with ftp/wget commands. This is pretty easy, just checkup the manual.

    If you dont have telnet access, you can download with php also. PHP has very simple socket functions, checkout the manual for file(), file_get_contents() and other functions.
     
    alemcherry, Nov 23, 2007 IP
  3. msm365

    msm365 Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It would be to download a file from the net (of which I know the URL).

    I would prefer a PHP function - so will go and investigate the functions.

    Thanks
     
    msm365, Nov 23, 2007 IP
  4. jexxie

    jexxie Peon

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    jexxie, Nov 23, 2007 IP
  5. tonybogs

    tonybogs Peon

    Messages:
    462
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    tonybogs, Nov 24, 2007 IP