how can i transfer a file from remote server to my ftp server?

Discussion in 'Site & Server Administration' started by nshop1, May 1, 2008.

  1. #1
    hi,

    i want to transfer files from other web server link to my ftp server. for example a file is stored in a site which address is www.example.com/movie.avi now i want transfer this file to www.mysite.com/files/movie.avi without downloading it into my local drive (i need the file to be stored into my hosting space).

    can anyone help me out please.
     
    nshop1, May 1, 2008 IP
  2. royo

    royo Peon

    Messages:
    173
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It can't be done that easily. If you have SSH access on the machine with the FTP you can use wget to download the file from the webserver and place it on your own site/ftp.
     
    royo, May 1, 2008 IP
  3. mellow-h

    mellow-h Peon

    Messages:
    750
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The easiest way to do it is using FXP (File Exchange Protocol). If you are on a dedicated server or vps then you shouldn't really have any problem at all in using it, try contacting your server support to assist you in fxp. But if you are in shared hosting, then most probably you won't be able to do it as most of the shared hosting providers don't support this to protect users from abusing. :)
     
    mellow-h, May 1, 2008 IP
  4. Afazelpoor

    Afazelpoor Guest

    Messages:
    292
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The only way I can think of is by using a script URL upload, this way you can upload from a link to your site without downloading it to your local machine, there are plenty scripts out there that can do what you are looking to do, and since this would be for personal use you can also setup a password protection on accessing the script.
     
    Afazelpoor, May 1, 2008 IP
  5. dannywozeya

    dannywozeya Guest

    Messages:
    500
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I cant find any can you point me in the direction for one?

    thank you.
     
    dannywozeya, May 2, 2008 IP
  6. blowingideas

    blowingideas Peon

    Messages:
    642
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    read the man page of SCP, you can do this from the command line.
    that should be pretty easy.
     
    blowingideas, May 2, 2008 IP