Comments (6)
@sourcefrog openssh-sftp-client-0.10.0
is released with the refactor done.
Now you can simply pass stdin/stdout of the remote sftp
subsystem to this highlevel::Sftp::new.
It will not be long before openssh-rust/openssh#66 is also merged in so that you can use this crate with openssh.
from openssh-sftp-client.
You are right, I made a connect method and did not return the child so it went out of scope 🤦
Thanks!
from openssh-sftp-client.
@sourcefrog openssh-0.9.1
has released, with support for sftp subsystem, which can be used with openssh-sftp-client
.
from openssh-sftp-client.
Hi, nice to see this library.
It looks like it is meant to be used over the top of an SSH transport implementation that does authentication and encryption? Could you give some example code of how to connect it to OpenSSH or whatever transport is supported?
Yes.
It can be used with openssh
once openssh-rust/openssh#66 is merged in, where I wil refactor this crate so that you can use this crate by providing one input and one output stream.
from openssh-sftp-client.
I tried playing around with the current master of openssh-rust/openssh after openssh-rust/openssh#66 was merged. But I always get this error: Background task failed: read/flush task failed.
.
My code is very similar to the code in tests/openssh.rs.
from openssh-sftp-client.
Background task failed: read/flush task failed.
This means that the stdin/stdout is closed.
@elwerene Did you accidentally drop child
before Sftp::close
is called?
from openssh-sftp-client.
Related Issues (20)
- Invalid response id after closing file in blocking context HOT 3
- Can we implement `AsyncWrite` for `openssh_sftp_client::File`? HOT 6
- FR: Add `path()` method to `DirEntry` HOT 1
- openssh-sftp-clien 0.14 seems broken HOT 6
- `openssh-sftp-error` needs to bump major version HOT 5
- Missing Sftp::from_session HOT 1
- Possible bug in lifetime checker of rustc 1.62 HOT 11
- chore: Cleanup the integration tests for highlevel API
- chore: prepare for v0.11.0 release HOT 6
- Move upstream dependency into this org HOT 2
- Something in `Sftp::new` does not implement `Send` HOT 6
- Performance when downloading files HOT 19
- Misleading naming of `file::write` and `file::write_all` HOT 6
- How can I upload big File HOT 2
- `read_dir` miss some files in multiple file directories HOT 4
- Is it possible to remove lifetime from `File`? HOT 1
- Incorrect behavior about `AsyncSeek` of `TokioCompatFile` HOT 6
- TokioCompatFile has an infinite write buffer size, which is unexpected HOT 9
- exaxmples/ folder demonstrating how to use this crate. HOT 1
- Create remote sftp subsystem error HOT 7
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 openssh-sftp-client.