Re: FTP alternative to copy() ?

From: Date: Mon, 01 Mar 2004 14:33:08 +0000
Subject: Re: FTP alternative to copy() ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-179165@lists.php.net to get a copy of this message
Hello, Monday, March 1, 2004, 2:24:39 PM, you wrote: r> Hi, I'd like to know if there's an alternative to copy() to copy a file r> from one directory to another, using the FTP functions? r> I figured I could probably open the file from the server and save/upload r> it to a specified path. r> Can this be done? What syntax should I use? You can do this using FXP if both servers support it. However I don't know if PHP has support for FXP built in or if the standard FTP commands can handle it. Failing that you'll have to do as you suggested and download the file to a temp location before uploading it again. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html

« previous php.general (#179165) next »