<div dir="ltr">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.  <div><br></div><div>Erik<br><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 18, 2014 at 6:37 AM, Miles Fidelman <span dir="ltr"><<a href="mailto:mfidelman@meetinghouse.net" target="_blank">mfidelman@meetinghouse.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Joe Armstrong wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
Has anybody written a "generic file fetcher" - I'd like to fetch files<br>
or collections of files from various remote locations (Git, SVG, HTTP, FTP etc)<br>
handling proxies etc. on the way<br>
<br>
</blockquote>
<br></span>
Sounds like you're looking for an erlang version of curl (which does, I believe, talk git's API).<br>
<br>
Maybe run curl through a port?<span class="HOEnZb"><font color="#888888"><br>
<br>
Miles Fidelman<br>
<br>
-- <br>
In theory, there is no difference between theory and practice.<br>
In practice, there is.   .... Yogi Berra</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>