Re: copy file from one remote server to another

From: Date: Wed, 11 Oct 2000 04:34:29 +0000
Subject: Re: copy file from one remote server to another
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-19492@lists.php.net to get a copy of this message
On Wed, 11 Oct 2000, Steve Dickson wrote: > > > This may be an impossibility but....... > > I'm working on an installation script and would like a user to be able to click > a link in their browser (accessing their site) which will ftp a prenamed gzip'd > file from my server to a predetermined directory on theirs. > > So for example, 'user' is on a dialup connection through server A and runs a > scripts on their server B. Clicking a link will ftp a file from server C to > server B. > > Is it possible? Any ideas greatly appreciated. > > Thanks and regards > > Steve Dickson > <mailto:steve@nrb.com.au>steve@nrb.com.au > <http://www.nrb.com.au/>Northern Rivers Business Guide > P.O. Box 1247, Ballina, 2478 > Phone (02) 6681-4481 Just looking at the ftp functions, it looks like it might be possible, providing there is an active ftp server on C, plus a number of 'ifs' relating to permissions on B and C. And of course that your PHP has ftp support compiled in. This is theoretical as I've never used the ftp functions! -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#19492) next »