wininet: 125 is an acceptable response code for the STORE command
Phil Lodwick
Phil.Lodwick at EFI.COM
Mon May 22 16:02:38 CDT 2006
http://www.faqs.org/rfcs/rfc765.html
Command-Reply Sequences
In this section, the command-reply sequence is presented. Each
command is listed with its possible replies; command groups are
listed together. Preliminary replies are listed first (with
their succeeding replies indented and under them), then
positive and negative completion, and finally intermediary
replies with the remaining commands from the sequence
following. This listing forms the basis for the state
diagrams, which will be presented separately.
STOR
125, 150
(110)
226, 250
425, 426, 451, 551, 552
532, 450, 452, 553
500, 501, 421, 530
---
dlls/wininet/ftp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
42c609fc40eacb8aee7f299e954cb7b0eed95618
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index c19cef9..0024a95 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -2098,7 +2098,7 @@ static BOOL FTP_SendStore(LPWININETFTPSE
nResCode = FTP_ReceiveResponse(lpwfs, lpwfs->hdr.dwContext);
if (nResCode)
{
- if (nResCode == 150)
+ if (nResCode == 150 || nResCode == 125)
bSuccess = TRUE;
else
FTP_SetResponseError(nResCode);
--
1.2.4
More information about the wine-patches
mailing list