--- afd-1.3.2/src/protocols/ftpcmd.c.orig 2006-04-25 14:46:17.000000000 +0200 +++ afd-1.3.2/src/protocols/ftpcmd.c 2006-04-25 14:47:07.000000000 +0200 @@ -1649,7 +1649,7 @@ /* Read last message: 'Binary Transfer complete' */ if ((reply = get_reply()) != INCORRECT) { - if (reply == 226) + if ((reply == 226) || (reply == 250)) { reply = SUCCESS; } @@ -2466,7 +2466,7 @@ return(INCORRECT); } transfer_timeout = tmp_ftp_timeout; - if (reply != 226) + if ((reply != 226) && (reply != 250)) { return(reply); }