Marek Kilimajer wrote:

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.

yikes. how did i overlook that :-(


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


Marek



--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.

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



Reply via email to