PHP 4.0 Bug #6730 Updated: doing a filelist on os390 with phps ftp-support doesn't return a result
| From: | sniper@php.net | Date: | Sat, 28 Oct 2000 09:02:27 +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-36213@lists.php.net to get a copy of this message | ||
ID: 6730
Updated by: sniper
Reported By: adrian.zimmerma@ospm.ch
Status: Closed
Bug Type: FTP related
Assigned To:
Comments:
Fixed in CVS. Thank you for providing this excellent bug report!
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-10-27 09:40:50] sniper@php.net
reclassified.
---------------------------------------------------------------------------
[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