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] [EMAIL PROTECTED]

Fixed in CVS. Thank you for providing this excellent bug report!

--Jani

------------------------------------------------------------------------

[2000-10-27 09:40:50] [EMAIL PROTECTED]

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

Reply via email to