Changeset 1038

Show
Ignore:
Timestamp:
2008-08-08 05:08:33 (2 years ago)
Author:
MaierMan
Message:

#259: Implement FTP resuming
Fail on 5xx early

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/dta/manager.js

    r1037 r1038  
    21962196                        this._wasRetr = /^RETR/.test(msg) || /^REST/.test(msg); 
    21972197                } 
    2198                 if (server && this._wasRetr && /^[45]/.test(msg)) { 
     2198                else if (/^5/.test(msg) || (this._wasRetr && /^4/.test(msg))) { 
    21992199                        Debug.logString("Server didn't allow retrieving stuff!"); 
    22002200                        if (!this.handleError()) {