[erlang-questions] is there a generic file fetcher anywhere?
Tue Nov 18 11:25:54 CET 2014
Things like HTTP and Git operate on different kinds of entities. One does
not simply fetch a file from a Git repository, the whole repository has to
be cloned (or shallow-cloned).
Do you have in mind something like "here's my <login> and <password>,
please fetch whatever this <url> points to"?
On Tue, Nov 18, 2014 at 12:10 PM, Joe Armstrong <> wrote:
> Has anybody written a "generic file fetcher" - I'd like to fetch files
> or collections of files from various remote locations (Git, SVG, HTTP, FTP
> handling proxies etc. on the way
> Is there any generic code to do this?
> I took a quick peek at the rebar source code since I know it can fetch
> from git
> but it just does a os:cmd("git fetch origin ...")
> It strikes me that it would be a good idea to isolate code like this into a
> separate library and make it more generic. This would be rather useful
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions