hierynomus / hierynomus/sshj

Get a file to an InputStream and to put a file from an OutputStream

Open
#853 3 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

Migrating form Jcsh to SSHJ, I do not want to write a temporary file,
I need to get a file to an InputStream and to put a file from an OutputStream.

Will it be possible a lot easier to migrate if you can add these two functions in the SSHJ library like:
```
try (SFTPClient sftp = ssh.newSFTPClient())
{
InputStream inputStream = sftp.get(pathRead);
sftp.put(outpuStream, pathWrite);
}
```

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.