Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTP raw mkd #318

Open
fendipratama opened this issue Oct 18, 2022 · 1 comment
Open

FTP raw mkd #318

fendipratama opened this issue Oct 18, 2022 · 1 comment

Comments

@fendipratama
Copy link

Ftp.raw("mkd", "/new_dir", (err, data) => {
if (err) {
return console.error(err);
}
console.log(data.text); // Show the FTP response text to the user
console.log(data.code); // Show the FTP response code to the user
});

the folder permission is 700, how to set 777?

@fendipratama
Copy link
Author

i was try
Ftp.raw("chmod -R 777", "/new_dir", (err, data) => {
if (err) {
return console.error(err);
}
but it doesn't work, pls help me
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant