Page 1 of 1

FTP - copy files from one FTP server to another - possible?

Posted: Tue Jul 15, 2003 5:20 am
by imago
hello,

I am just wondering if it possible to copy files from one FTp server to another. What is the best way? I would prefer if I can use ftp functions and I'm not sure which how that is done.

Thanks,

Sam

Posted: Tue Jul 15, 2003 6:48 am
by twigletmac
Moved to PHP - Normal.

Mac

Posted: Thu Jul 17, 2003 1:08 pm
by jamesm87
All i can recomend is copy all the server and paste it into the new one. :D

Posted: Thu Jul 17, 2003 1:53 pm
by Carl B
You need a client and two servers that support FXP, the FTP server-to-server transfer protocal that isn't really formally defined. FlashFXP and CuteFTP 2+ for Windows, I think pftp for 'nix, but I tend to stay on the Win side of things. Most servers support this, unless they specifically disable it.

Ahem...

Posted: Thu Jul 17, 2003 1:59 pm
by lethal
An idea I have about using the FTP functions is, copy the file(s) onto the server that the script is running from into a directory. Then, use the FTP functions again to loop through the directory, and transfer each file to that server. I've never experimented with the FTP functions, but it should work.