Comments (5)
Dart Version 2.16.1
Flutter Version: 2.10.1
I will attach the corresponding exception
flutter: SftpStatusError: Failure(code 4)
flutter: SftpStatusError: Failure(code 4)
flutter: #0 SftpClient.open (package:dartssh2/src/sftp/sftp_client.dart:63:5)
<asynchronous suspension>
from dartssh2.
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.
Does your account have enough permission to write to the remote destination?
from dartssh2.
Hey, thank you very much for quick answer!
permission is granted, I also tried out the admin user of the server. Do you have another idea?
from dartssh2.
Currently I have no other ideas about the error. However it may help to inspect the logs from sftp-server
and see what actually happened. Detailed instructions can be found here: https://access.redhat.com/articles/1374633.
from dartssh2.
Thanks for the help @xtyxtyx . I don't get any specific error message.
It seems like the session closes immidiately.
Mar 6 18:35:01 xxxxxxx CRON[2024678]: pam_unix(cron:session): session opened for user root by (uid=0)
Mar 6 18:35:01 xxxxxxx CRON[2024678]: pam_unix(cron:session): session closed for user root
Do you have any idea?
from dartssh2.
Related Issues (20)
- SSH local port forwarding is not working
- How does the method onChangePasswordRequest work?
- Generate SSH keys similar to ssh-keygen
- Proposed change in code for the "|" operator overload in SftpFileOpenMode
- sftp upload create a 0 byte file and holding HOT 1
- How can I add UDPGW port?
- SSHAuthAbortError(Connection closed before authentication) when using jumpServer HOT 3
- [Flutter] Keep waiting for the https api response in local port forwarding for large response data
- Shell without Streams
- bug: Unhandled Exception: SSHStateError(Transport is closed) HOT 2
- Slow SFTP on phone
- Web Problem HOT 2
- Web Failed to establish SSH connection: UnimplementedError: Native socket is not supported on web HOT 1
- Issue while Local Port Forwarding HOT 2
- stderr emit for client.run()
- SSHAuthFailError(All authentication methods failed) HOT 2
- FormatException: Unexpected extension byte" Error with Non-UTF-8 File Names
- Operation not permitted when running on macos HOT 1
- SSH Connection not working in release build (apk installed on phone), but working on simulated phone in android studio. HOT 1
- Does this project have an active maintainer?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dartssh2.