Bug #16455 Updated: "Progress Indicator" of some sort in ftp get

From: Date: Sat, 13 Apr 2002 19:44:02 +0000
Subject: Bug #16455 Updated: "Progress Indicator" of some sort in ftp get
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4915@lists.php.net to get a copy of this message
ID: 16455 Updated by: wez@php.net Reported By: epicanis+php@dogphilosophy.net -Status: Assigned +Status: Closed Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.1.2 Assigned To: wez New Comment: Implemented in CVS. Docs are due later. Search the php-dev archives for my recent RFC on the matter which includes a sample script if you can't wait for the docs. Previous Comments: ------------------------------------------------------------------------ [2002-04-05 15:51:07] epicanis+php@dogphilosophy.net If that includes checking on connection and login status, that'd be perfect (and I'd have no cause to use the ftp functions instead). In fact, if it includes the ability to fetch error messages that result, it would be even better.... Thanks! ------------------------------------------------------------------------ [2002-04-05 15:41:08] wez@php.net I aim to provide a means for PHP scripts to check up on the things that you mentioned for the ftp wrapper (rather than ftp_get) as part of the streams "refit" for PHP 4.3 ------------------------------------------------------------------------ [2002-04-05 12:54:10] epicanis+php@dogphilosophy.net On long ftp downloads, there appears to be no way to get any sort of "progress" indication. (I prefer to use the ftp module rather than the ftp: wrapper for fgets for the application in question, so that I can more easily track success at connecting, success at logging in, checking of ftp directory contents, etc). This isn't much of an issue on a web-page, where ftp download shouldn't take long, but when used as a CLI application (as I am currently) to handle a long download, it's hard to tell whether or not the download is going successfully, or not. (For simplicity, having output on stderr from the ftp_get function as an option would probably be quite sufficient...) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16455&edit=1

« previous php.bugs (#4915) next »