Permalink
Browse files

make sure RNTO happens immediately after RNFR

  • Loading branch information...
mscdex committed Dec 18, 2012
1 parent ed1070b commit 6523e5743b70d8a56022f2383f971b3473f9ec08
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ftp.js
View
@@ -337,7 +337,7 @@ FTP.prototype.rename = function(from, to, cb) {
if (err)
return cb(err);
- self._send('RNTO ' + to, cb);
+ self._send('RNTO ' + to, cb, true);
});
};

0 comments on commit 6523e57

Please sign in to comment.