-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REST send before RETR if restart is used. fixes #76 #77
base: master
Are you sure you want to change the base?
Conversation
Don't know why this happend. thought that naming the issue should be enough... |
This ones fixes the issue with the restart command. Would be good if someone check the code. |
@@ -779,7 +801,9 @@ FTP.prototype.lastMod = function(path, cb) { | |||
}; | |||
|
|||
FTP.prototype.restart = function(offset, cb) { | |||
this._send('REST ' + offset, cb); | |||
self = this; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line can be removed
Aside from the inline comments, there are a couple of other issues:
|
I hope to find some time to change the other things (check Rest support of Server, err Handling and Code Style) on the Weekend. |
this commit fixes #76