Re: Opening files via ftp and displaying connection stuff

From: Date: Wed, 05 Jul 2000 19:18:04 +0000
Subject: Re: Opening files via ftp and displaying connection stuff
Groups: php.general 
Request: Send a blank email to php-general+get-5045@lists.php.net to get a copy of this message
Well, the fopen() is going to take place on the server before the browser even gets the html page. PHP4 has new output buffering and you could attempt to push the results as you are downloading the file. Generally pushing stuff to the browser doesn't work very well, but you could try it. -- Matthew Leverton - matthew@aeroinc.net - http://www.allegro.cc -----Original Message----- From: Ed Vul <edv@whitepj.com> To: php-general@lists.php.net <php-general@lists.php.net> Date: Wednesday, July 05, 2000 2:12 PM Subject: [PHP] Opening files via ftp and displaying connection stuff >Ok i know that i can open a file on an ftp server with the following >command: >fopen("ftp://user:pass@ftpserver.org/dir/file.file","r-"); > (well all of >that can be changed, but the idea is there. >is there anyway that I can open a file from an ftp server and while >connecting display the connection process? (like in ftp clients you can see >all sorts of information, can you do the same in php?) > >Thanks >Ed > > > >-- >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 (#5045) next »