PHP 4.0 Bug #6730 Updated: doing a filelist on os390 with phps ftp-support doesn't return a result

From: Date: Fri, 27 Oct 2000 13:40:50 +0000
Subject: PHP 4.0 Bug #6730 Updated: doing a filelist on os390 with phps ftp-support doesn't return a result
Groups: php.dev 
Request: Send a blank email to php-dev+get-36130@lists.php.net to get a copy of this message
ID: 6730 Updated by: sniper Reported By: adrian.zimmerma@ospm.ch Status: Open Bug Type: FTP related Assigned To: Comments: reclassified. Previous Comments: --------------------------------------------------------------------------- [2000-09-13 23:10:18] adrian.zimmerma@ospm.ch when doing a filelist on os390 (ftp_rawlist and mabe ftp_nlist) returns no files even when files are stored. We inserted a pach in ftp.c wich handles the silly return-code from os390 correct: in the last lines <PRE> /* if (!ftp_getresp(ftp) || ftp->resp != 226) {*/ if (!ftp_getresp(ftp) || !(ftp->resp == 226 || ftp->resp == 250)) { -- fixed for ibm os390 free(ret); return NULL; } return ret; bail: data_close(data); fclose(tmpfp); free(ret); return NULL; } #endif /* HAVE_FTP */ </PRE> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6730

« previous php.dev (#36130) next »