sshj icon indicating copy to clipboard operation
sshj copied to clipboard

How does SFTP implement file uploading and downloading?

Open nile10086 opened this issue 1 year ago • 1 comments

How can SFTP be used to download a file from Server A and then upload it to Server B without saving temporary files locally? Specifically, what methods or tools can be employed to achieve this direct transfer?

nile10086 avatar Jan 10 '25 07:01 nile10086

You can connect an InputStream and OutputStream.

hierynomus avatar Jan 10 '25 09:01 hierynomus