raditha dissanayake wrote:
Syed Ghouse wrote:


Hi All

i have to transfer files from one server to another server thru php program.will 
anybody tell me how to do it?



PHP is not the way to do it! use SCP you don't have to write a single line of code. Don't look at FTP. even though the FTP rcf talks about transfering from one server to another i don't think any servers have implemented that part of the RFC not to mention the clients.

One of the servers would act as a client. So it would not be server to server transfer.


Anyway, be carefull with ftp, passwords are send in plaintext. Executing scp from php is a better choise.

Marek

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



Reply via email to