Gem for segmented SFTP file downloads?

Ryan Lue <[email protected]>
Newsgroups gmane.comp.lang.ruby.general
Message-ID <[email protected]>
I'm trying to build a utility that will fetch large files or directories
off of a seedbox (or any SSH server, for that matter).
Individual connections are throttled,
so I have traditionally relied on a CLI utility called LFTP
to split large files into smaller segments to be downloaded in parallel.

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?

Alternately, I'm considering writing my own gem
to extend `Net::SFTP` to add support for segmented downloads.
But in order for this to work, I need an option like curl's `--range`
to specify a byte range to fetch for a given file,
and it doesn't look like `Net::SFTP` supports this either.
Have I missed something by any chance?
Is there another way to achieve the same thing?

—Ryan


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.