-
Notifications
You must be signed in to change notification settings - Fork 64
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
error code 4 when I try to upload a file via sftp #20
Comments
Dart Version 2.16.1 I will attach the corresponding exception
|
The OpenSSH SFTP server use 'Failure' message for many errors and it's hard to tell the specific reason. This usually happens when the permissions is not enough, or the filesystem is read-only. |
Hey, thank you very much for quick answer! |
Currently I have no other ideas about the error. However it may help to inspect the logs from |
Thanks for the help @xtyxtyx . I don't get any specific error message. It seems like the session closes immidiately.
Do you have any idea? |
I'm try to upload some data from my the smartphone to a server via sftp.
However, I keep on receveing an exception with the error code 4. The error message is only "failure", so it's pretty hard for me to understand what is going on.
I'm able to connect to the server and to create folders, but the upload itself is not working. The code itself is copied from your readme page. Both variables, serverPath and localFilePath are valid paths.
thank you and best regards.
The text was updated successfully, but these errors were encountered: