@@ -5,7 +5,8 @@
* src/FtpNegotiateCommand.cc
(recvGreeting): Call disableWriteCheckSocket just after
socket->setBlockingMode(). This avoids unnecessary CPU-hog loop.
-
+ (recvRetr): Recognized status code 125 as a acceptable response code.
+
Rename Time.h to TimeA2.h to avoid compilation ploblem on
case-insesitive filesystem(BUG#1531057).
@@ -264,7 +264,7 @@ bool FtpNegotiationCommand::recvRetr() {
if(status == 0) {
return false;
}
- if(status != 150) {
+ if(status != 150 && status != 125) {
throw new DlRetryEx(EX_BAD_STATUS, status);
if(e->option->get(PREF_FTP_PASV_ENABLED) != V_TRUE) {