hierynomus / hierynomus/sshj

How to read from the remote file into a Stream ?

Open
#533 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

Can anyone please help in reading a remote file into a Stream? I understand that I need to use something similar to this
```
sftpClient.get("/home/sftp/file1", new InMemoryDestFile() {
@Override
public OutputStream getOutputStream() throws IOException {
return null;
});
```
but any process on how exactly to do this would be helpful. Thanks in advance

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.