#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Location
    Colorado
    Posts
    11
    Rep Power
    0

    Ftp to remote server


    I am attempting to setup a process to copy or ftp a file to a remote server. My question: Is my webserver posting the file to the remote server or is it the client machine? My concern is that my webserver, which has minimal throughput to the internet, can't handle the file transfers to the remote server. The remote server, which is not mine, does have higher bandwidth capacity. My point: I'd like my webserver to still handle simple page requests for the domain in question but (hopefully) pass on file transfers to the remote server freeing my webserver from the heavy usage.

    Basically is my webserver a 'transfer agent' between the client machine and the remote server or do the client machine and remote server communicate directly once the php_connect script is activated?
  2. #2
  3. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    Where is the file coming from?
  4. #3
  5. Mobbing Gangster
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Sep 2001
    Location
    "Best City" 2002 and 2003- Melbourne, Australia
    Posts
    4,912
    Rep Power
    32
    >>Basically is my webserver a 'transfer agent' between the client
    >>machine and the remote server or do the client machine and
    >>remote server communicate directly once the php_connect
    >>script is activated?
    Neither. ftp_connect() connects your server to another server, and it has nothing to do with the visitor.
    And you know I mean that.

IMN logo majestic logo threadwatch logo seochat tools logo