node-ftp
node-ftp copied to clipboard
REST send before RETR if restart is used. fixes #76
this commit fixes #76
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.
Aside from the inline comments, there are a couple of other issues:
- The
err
argument passed to the callback in_send()
should be checked (in case REST is not supported on the server) and appropriate action should be taken iferr
is indeed set. - Code style should match the rest of the source code (mainly spacing here)
I hope to find some time to change the other things (check Rest support of Server, err Handling and Code Style) on the Weekend.