[erlang-questions] is there a generic file fetcher anywhere?

Erik Sette <>
Tue Nov 18 13:24:58 CET 2014


I would also enjoy a general solution myself.  I actually modified my local
copy of rebar to get files (artifacts) from artifactory via http.  I now
can specify in my rebar.config something like: {http, Url, [{auth, {basic,
{User, Password}}}, tgz]}, [raw]} and it will either look for the exact Url
or get the "latest" version it finds.

Erik


On Tue, Nov 18, 2014 at 6:37 AM, Miles Fidelman <>
wrote:

> Joe Armstrong wrote:
>
>> Hello,
>>
>> 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 etc)
>> handling proxies etc. on the way
>>
>>
> Sounds like you're looking for an erlang version of curl (which does, I
> believe, talk git's API).
>
> Maybe run curl through a port?
>
> Miles Fidelman
>
> --
> In theory, there is no difference between theory and practice.
> In practice, there is.   .... Yogi Berra
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141118/18f4dd0c/attachment.html>


More information about the erlang-questions mailing list