Jan Tomášek

Results 3 comments of Jan Tomášek

In my case the native SCP/rsync is 6.5ms/file and SFTP over SSHJ 8.4ms/file after the mentioned buffered input stream optimization (without optimization it was 18.7 ms/file). Also compression made it...

```java File file = Paths.get("sample.pdf").toFile(); try (BufferedInputStream bis = new BufferedInputStream(new FileInputStream(file))) { transfer.upload(new InputStreamSource(bis, file.getName()), "/samplelocation/sample.pdf"); } ``` uses this class: ```java private static class InputStreamSource extends InMemorySourceFile {...

Actually for me just in time! I used the original script yesterday and then I used the provided uninstall script. Both have worked without problem.