]> granicus.if.org Git - php/commitdiff
MFH
authorIlia Alshanetsky <iliaa@php.net>
Tue, 25 Feb 2003 04:20:44 +0000 (04:20 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 25 Feb 2003 04:20:44 +0000 (04:20 +0000)
ext/standard/ftp_fopen_wrapper.c

index 1ede5501c094beb99bc9302fd15ed1ad9b17b274..b30d763f3e4d3e84a8115bc2d7aaa6c6b1ec1200 100644 (file)
@@ -415,7 +415,7 @@ php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, char *path, ch
        }
 
        result = GET_FTP_RESULT(stream);
-       if (result != 150) {
+       if (result != 150 && result != 125) {
                /* Could not retrieve or send the file 
                 * this data will only be sent to us after connection on the data port was initiated.
                 */