#6730 [Com]: doing a filelist on os390 with phps ftp-support doesn't return a result
| From: | ronaldo dot menezes at clix dot pt | Date: | Thu, 25 Sep 2003 15:43:09 +0000 |
| Subject: | #6730 [Com]: doing a filelist on os390 with phps ftp-support doesn't return a result | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48100@lists.php.net to get a copy of this message | ||
ID: 6730
Comment by: ronaldo dot menezes at clix dot pt
Reported By: adrian dot zimmerma at ospm dot ch
Status: Closed
Bug Type: FTP related
Operating System: Linux & others relatetd to ibm o
PHP Version: 4.0.2
New Comment:
hy
my script is working perfect.....
RCM
Previous Comments:
------------------------------------------------------------------------
[2000-10-28 05:02:27] sniper@php.net
Fixed in CVS. Thank you for providing this excellent bug report!
--Jani
------------------------------------------------------------------------
[2000-10-27 09:40:50] sniper@php.net
reclassified.
------------------------------------------------------------------------
[2000-09-13 23:10:18] adrian dot zimmerma at ospm dot 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>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=6730&edit=1