Re: FTP connection using fsockopen

From: Date: Thu, 22 Jun 2000 03:34:16 +0000
Subject: Re: FTP connection using fsockopen
Groups: php.general 
Request: Send a blank email to php-general+get-2572@lists.php.net to get a copy of this message
yes i have installed PHP 4 final realese, but it said 'unsupported command' when i use ftp_connect(). ???? -----Original Message----- From: Chris Adams <chris@digitaria.com> To: php-general <php-general@lists.php.net> Date: Thursday, June 22, 2000 10:18 AM Subject: Re: [PHP-GENERAL] FTP connection using fsockopen >> how to make FTP connection using fsockopen(). i have trise using >> fsockopen("blah.com",21) and it's connected well, but what then ? how to >log >> in and retrieve files from the server ? > >FTP's a much more complex protocol than HTTP. You'd probably find it much >easier to use the new FTP module in PHP4 >(http://www.php.net/manual/ref.ftp.php). If you still want/need to roll your >own function, read RFC959 (ftp://ftp.isi.edu/in-notes/rfc959.txt). > > >-- >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 (#2572) next »