You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys, sorry if I'm asking this question at wrong place.
I have an input stream containing file data which I upload to sftp using RemoteFile.write()
However for my case, I've noticed that this method is almost 6 times slower than using SFTPClient.put(FileSystemFile, filename)
The problem is, I do not have file saved locally, I receive it through input stream generated by another program. I do not want to save this file as I dont have enough hardrive available to store it. Therefore RemoteFile.write() is the only way for me, which as i mentioned is almost 6 times slower for me.
Is there a faster way to upload InputStream to sftp? I'm looking for something wich is as fast as SFTPClient.put
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys, sorry if I'm asking this question at wrong place.
I have an input stream containing file data which I upload to sftp using RemoteFile.write()
However for my case, I've noticed that this method is almost 6 times slower than using SFTPClient.put(FileSystemFile, filename)
The problem is, I do not have file saved locally, I receive it through input stream generated by another program. I do not want to save this file as I dont have enough hardrive available to store it. Therefore RemoteFile.write() is the only way for me, which as i mentioned is almost 6 times slower for me.
Is there a faster way to upload InputStream to sftp? I'm looking for something wich is as fast as SFTPClient.put
Beta Was this translation helpful? Give feedback.
All reactions