Re: fopen for ftp transfers

From: Date: Mon, 29 Oct 2001 17:59:07 +0000
Subject: Re: fopen for ftp transfers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72751@lists.php.net to get a copy of this message
what about using ftp functions from PHP? http://www.php.net/manual/en/ref.ftp.php ----- Original Message ----- From: "Scott" <scott@scottah.com> To: <php-general@lists.php.net> Sent: Monday, October 29, 2001 10:58 AM Subject: [PHP] fopen for ftp transfers > Hi- > > I am attempting to transfer files from one server to another via ftp. I > am wondering if this is the best method to transfer files within PHP or > should I seek other methods. Here is the way I am doing it now: > > $sendfile = > fopen("ftp:user:letmein@10.1.1.1/testfile", > "w"); > > Thanks > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#72751) next »