Is it possible to use put function for directory
m8 opened this issue · 0 comments
m8 commented
Hey, I'm trying use put function for directory transfer. However I got error.
Error: 553 Can't open that file: Is a directory
ftp.put('./', '/', err => {
if (!err) {
console.log("File transferred successfully!");
}
console.log(err);
});
I would like to ask that how can we transfer files recursively?