mkdir and rmdir method miss a space #29

xsbchen opened this Issue Dec 17, 2012 · 0 comments


None yet

2 participants


FTP.prototype.mkdir = function(path, cb) { // MKD is optional
this._send('MKD' + path, cb);

FTP.prototype.rmdir = function(path, cb) { // RMD is optional
this._send('RMD' + path, cb);

these two method throw error: { [Error: Unknown command.] code: 500 }

because miss a space between "MKD"/"RMD" and path.

@mscdex mscdex added a commit that closed this issue Dec 17, 2012
@mscdex fix missing space for MKD/RMD
Fixes #29
@mscdex mscdex closed this in cbedff1 Dec 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment