Is there a julia wrapper for libssh somewhere? I would like to be able to transfer a part of a large file located on a remote server using sftp (the file itself could be 100G, but I might be interested in a small subset of the data contained in that file). I realise this could be solved by splitting up the data into smaller files, but I have quite a number of these large files generated by a different process and I’d like to avoid having to split them up.
It would be really cool if something like this worked:
using SSH data = open(SSH.new_session("username","password")) do session data = SSH.sftp_open(session, "remotefile") do ff SSH.sftp.seek(session, ff, pos) data = SSH.sftp.read(session, ff, bytes) end end