|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-10-27 09:40 UTC] sniper@php.net
[2000-10-28 05:02 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 12:00:01 2025 UTC |
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>