Re: Gem for segmented SFTP file downloads?

Marvin Gülker <[email protected]>
Newsgroups gmane.comp.lang.ruby.general
Message-ID <20190224074755.bt3igkm7f5ltacvl@atlantis>
Hi,

Am 20. Februar 2019 um 13:02 Uhr +0800 schrieb Ryan Lue:
> I get the sense that nothing really compares to `Net::SFTP`,
> but it doesn't look like it natively supports segmented downloads.
> Does anyone know of a gem that does?

Sadly, I don't.

> Alternately, I'm considering writing my own gem
> [...] Is there another way to achieve the same thing?

There is libssh, a C library that might be able to do that:

  https://www.libssh.org/

You'd have to build a C extension for Ruby or use fiddle from the
stdlib to interact with it, though. You might want to check if somebody
provides bindings to libssh already.

Marvin

-- 
Blog: https://mg.guelker.eu

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.