Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
download zip file from url
1,286 views
Skip to first unread message
sounthar cs
unread,
Jan 23, 2013, 9:22:05 AM
1/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golan...@googlegroups.com
Hi there,
i want to download or read zip file (from another url) through the http.Get() or something else which is possible.
for example :
www.example.com/one.zip
one.zip may contain one or more .txt files.
thank u :)
Kyle Lemons
unread,
Jan 23, 2013, 5:11:50 PM
1/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sounthar cs, golang-nuts
Use http.Get, wrap the resp.Body in a zip.Reader. Voila :)
--
Daniel Theophanes
unread,
Jan 23, 2013, 8:27:27 PM
1/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golan...@googlegroups.com
Does exactly that.
https://bitbucket.org/kardianos/pullextract
Naitik Shah
unread,
Jan 23, 2013, 8:30:13 PM
1/23/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Daniel Theophanes, golan...@googlegroups.com
Also might find
http://godoc.org/github.com/daaku/go.httpzip
useful.
> --
>
>
--
-Naitik
Reply all
Reply to author
Forward
0 new messages