Re: Gem for segmented SFTP file downloads?

Gerard Fowley <[email protected]>
Newsgroups gmane.comp.lang.ruby.general
Message-ID <CA+aOqFm4HbGO9v8D3ouFUvXzjpcwJMnbvsu4Ww1418a2Abjq3A@mail.gmail.com>
Hi Ryan,

Net::SFTP::Operations::File is part of net-sftp. It provides an IO-like
interface for files over SFTP. I have used it to perform low-level file
operations over SFTP. I think you'll find what you need there...

http://net-ssh.github.io/net-sftp/classes/Net/SFTP/Operations/File.html


On Sun, Feb 24, 2019 at 9:16 PM Ryan Lue <[email protected]> wrote:

> > 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
>
> Ooh, great thinking. It looks like there are existing gems for libssh
> _and_ libssh2. I’ll check them out.
>
> Thanks a million!
>
> —Ryan
>
> Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
>
-- 

-gf-


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.