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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to