Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix missing space for MKD/RMD

Fixes #29
  • Loading branch information...
commit cbedff15c00c1919379e6041cbb5720d8715615d 1 parent 3818179
@mscdex authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 ftp.js
View
4 ftp.js
@@ -429,11 +429,11 @@ FTP.prototype.cdup = function(cb) { // CDUP is optional
};
FTP.prototype.mkdir = function(path, cb) { // MKD is optional
- this._send('MKD' + path, cb);
+ this._send('MKD ' + path, cb);
};
FTP.prototype.rmdir = function(path, cb) { // RMD is optional
- this._send('RMD' + path, cb);
+ this._send('RMD ' + path, cb);
};
FTP.prototype.system = function(cb) { // SYST is optional
Please sign in to comment.
Something went wrong with that request. Please try again.