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

SFTPs attempt to check whether a target file is a directory throws Permission Denied Exception when the target file does not exist #894

Open
RPCMoritz opened this issue Sep 14, 2023 · 0 comments

Comments

@RPCMoritz
Copy link

This could be due to the server side configuration, but ultimately a standard PUT via commandline works - once the files then exist, they can be checked, and the Exception goes away.

I would suggest to handle the Exception during the check, and defaulting to "If I can't tell whether it's a directory, it isn't one", with a warning log message, (SFTPFileTransfer:L292) or adding an explicit handler for Permission Denied.

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