Date: 09/13/00
- Next message: Derick Rethans: "Re: [PHP-DEV] FTP patch"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6726 Updated: --whith-ldap and --with-mcrypt dont work together"
- Next in thread: Jason Stechschulte: "[PHP-DEV] --enable-trans-sid and virtual hosts on Apache"
- Reply: Jason Stechschulte: "[PHP-DEV] --enable-trans-sid and virtual hosts on Apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: adrian.zimmerma <email protected>
Operating system: Linux & others relatetd to ibm os390
PHP version: 4.0.2
PHP Bug Type: Unknown/Other Function
Bug description: doing a filelist on os390 with phps ftp-support doesn't return a result
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>
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Derick Rethans: "Re: [PHP-DEV] FTP patch"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6726 Updated: --whith-ldap and --with-mcrypt dont work together"
- Next in thread: Jason Stechschulte: "[PHP-DEV] --enable-trans-sid and virtual hosts on Apache"
- Reply: Jason Stechschulte: "[PHP-DEV] --enable-trans-sid and virtual hosts on Apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

