Does JSch support seek() on uploads

Viewed 70

Does the JSch library support inserting/seeking() chunks of data into a file?

Currently I have a Spring Batch ItemWriter that writes data chunks of a file to my remote SFTP server. The data chunks I receive are in order and each data chunk contains the starting position respective to the file. Currently I have not tried to use parallelism for uploading data chunks to my SFTP server as I have not found any method to write data chunks out of order. To do this unordered upload I need to be able to seek().

Is this feature possible using JSch or is this a limitation of the SFTP protocol itself? If this is a limitation of the JSch library, is there another library that would support this feature?

Thank you very much in advance.

0 Answers
Related