node-ftpsync icon indicating copy to clipboard operation
node-ftpsync copied to clipboard

TypeError: ftp.raw.mkd is not a function

Open justinantony opened this issue 7 years ago • 3 comments

ftp.raw.mkd(dir, function(err, data) { ^

TypeError: ftp.raw.mkd is not a function

justinantony avatar Feb 14 '18 04:02 justinantony

Try installing an older version of JSFTP. Ftp.raw is deprecated. I don't have the time ATM to fix this.

evanplaice avatar Feb 14 '18 05:02 evanplaice

I will try and update

justinantony avatar Feb 14 '18 05:02 justinantony

I fixed this in PR #43 in commit https://github.com/evanplaice/node-ftpsync/commit/7c13d426743f647bb6e3e8eeade9df309937e0e5. This PR is not merged yet.

pwittchen avatar Apr 12 '18 16:04 pwittchen