Below is the story:
I used FileZilla 2.2.18, and connected to a MS FTP Server. A text file(Test.txt) exists on the server. The text file's context is "Hello". First, I downloaded Test.txt. Then, I downloaded Test.txt again, and I got a message box "File already exists". I selected an action "Resume" and click OK. Now, I got a file Test.txt which contains "HelloHello". Double Hello! It's wrong. Below is the Message Log:
Status: Connecting to ???.???.???.??? ...
Status: Connected with ???.???.???.???. Waiting for welcome message...
Response: 220 ntserver Microsoft FTP Service (Version 5.0).
Command: USER kequn
Response: 331 Password required for kequn.
Command: PASS **********
Response: 230-Welcome to Test FTP server
Response: 230 User kequn logged in.
Command: FEAT
Response: 500 'FEAT': command not understood
Command: SYST
Response: 215 Windows_NT version 5.0
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/kequn" is current directory.
Command: TYPE A
Response: 200 Type set to A.
Command: PASV
Response: 227 Entering Passive Mode (???,???,???,???,6,235)
Command: LIST
Response: 125 Data connection already open; Transfer starting.
Response: 226 Transfer complete.
Status: Directory listing successful
Status: Retrieving directory listing...
Command: CWD char
Response: 250 CWD command successful.
Command: PWD
Response: 257 "/kequn/char" is current directory.
Command: TYPE A
Response: 200 Type set to A.
Command: PASV
Response: 227 Entering Passive Mode (???,???,???,???,7,20)
Command: LIST
Response: 125 Data connection already open; Transfer starting.
Response: 226 Transfer complete.
Status: Directory listing successful
Status: Connecting to ???.???.???.??? ...
Status: Connected with ???.???.???.???. Waiting for welcome message...
Response: 220 ntserver Microsoft FTP Service (Version 5.0).
Command: USER kequn
Response: 331 Password required for kequn.
Command: PASS **********
Response: 230-Welcome to Formax FTP server
Response: 230 User kequn logged in.
Command: FEAT
Response: 500 'FEAT': command not understood
Command: SYST
Response: 215 Windows_NT version 5.0
Status: Connected
Status: Starting download of /kequn/char/Test.txt
Command: PWD
Response: 257 "/kequn" is current directory.
Command: CWD /kequn/char/
Response: 250 CWD command successful.
Command: PWD
Response: 257 "/kequn/char" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (???,???,???,???,7,24)
Command: RETR Test.txt
Response: 125 Data connection already open; Transfer starting.
Response: 226 Transfer complete.
Status: Download successful
Status: Starting download of /kequn/char/Test.txt
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (???,???,???,???,7,25)
Command: REST 5
Response: 350 Restarting at 5.
Command: RETR Test.txt
Response: 125 Data connection already open; Transfer starting.
Response: 226 Transfer complete.
Status: Download successful
Command: TYPE A
Response: 200 Type set to A.
Bug about Resume
Moderator: Project members
As what you said, maybe the error is from MS FTP Server. I tested a Serv-U FTP server using FileZilla. All things are OK.
While, I also tested the MS FTP Server with CuteFTP. There is no error occured. When I downloaded Test.txt again and again, CuteFTP gave me a message box, on it the RESUME button is disable because I had already downloaded Test.txt correctly.
So, I think FileZilla should also test the status of the file that was dowloaded. If the file has been downloaded correctly FileZilla should DISABLE the RESUME button.
While, I also tested the MS FTP Server with CuteFTP. There is no error occured. When I downloaded Test.txt again and again, CuteFTP gave me a message box, on it the RESUME button is disable because I had already downloaded Test.txt correctly.
So, I think FileZilla should also test the status of the file that was dowloaded. If the file has been downloaded correctly FileZilla should DISABLE the RESUME button.
Re: Bug about Resume
Hello,
Most FTP-servers support "REST nnn" command. When client passes this command to server, server sends file from the specified position. The most known server with no broken downloads resume is Microsoft. To be correct, it supports "REST nnn" but requires nnn to be equal 0.
HTH.
Zythan
Most FTP-servers support "REST nnn" command. When client passes this command to server, server sends file from the specified position. The most known server with no broken downloads resume is Microsoft. To be correct, it supports "REST nnn" but requires nnn to be equal 0.
HTH.
Zythan