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

Fails to delete directory #23

Open
drn5910 opened this issue May 16, 2016 · 0 comments
Open

Fails to delete directory #23

drn5910 opened this issue May 16, 2016 · 0 comments

Comments

@drn5910
Copy link

drn5910 commented May 16, 2016

When using this SFTP adapter I cannot delete a directory on a server, I've debugged it and the following SFTP error is generated in the SFTP library you use: NET_SFTP_STATUS_FILE_IS_A_DIRECTORY: Specified file is a directory.

After further investigation, it seems you are calling delete in your deleteDir method. I believe this should be rmdir to remove a directory.

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