ID: 16455 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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
