Re: File Transfer
| From: | raditha dissanayake | Date: | Fri, 03 Sep 2004 13:37:43 +0000 |
| Subject: | Re: File Transfer | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195724@lists.php.net to get a copy of this message | ||
Marek Kilimajer wrote:
raditha dissanayake wrote:yikes. how did i overlook that :-(Syed Ghouse wrote:One of the servers would act as a client. So it would not be server to server transfer.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.
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.