Agrego parche para código de error durante autenticación.

master
Félix Arreola Rodríguez 2022-10-27 22:26:06 -05:00
parent 2424bfa5a7
commit 18991635a6
1 changed files with 4 additions and 0 deletions

View File

@ -414,6 +414,10 @@ int _ftp_session_internal_user_code (FTPSession *session) {
session->passwd = NULL;
}
return FTP_SUCCESS;
} else if (session->last_code >= 530 && session->last_code < 540) {
session->estado = FTP_STATE_CONNECTED;
session->internal = FTP_INTERNAL_FREE;
return FTP_SUCCESS;
} else {
ftp_session_close_and_clean (session);
return FTP_ERROR;