[erlang-questions] Questions about zip

Low Kian Seong kianseong@REDACTED
Fri May 16 09:22:27 CEST 2014


I got this:

6> zip:zip_open('dome.zip', [{'cwd', <<'/home/lowks/Downloads'>>}]).
** exception error: bad argument



[image: Low Kian Seong on about.me]

Low Kian Seong
about.me/lowkianseong
    <http://about.me/lowkianseong>


On Fri, May 16, 2014 at 3:07 PM, deng lifen <erlangdlf@REDACTED> wrote:

> try this:
>
> zip:zip_open('dome.zip', [{'cwd', <<'/home/lowks/Downloads'>>}]).
>
>
> 在 2014年5月16日,14:58,Low Kian Seong <kianseong@REDACTED> 写道:
>
> First of all sorry, I am a beginner and the docs are a bit confusing to
> me. Can someone tell me what is wrong with this?
>
> 2> zip:zip_open('dome.zip', [{'cwd': <<'/home/lowks/Downloads'>>}])
> 2> .
> * 1: illegal expression
>
> also The second one gives back ok, but when I check the zip file is still
> compressed.
>
> 4> zip:zip_open("dome.zip").
> {ok,<0.40.0>}
>
>
> Some help is greatlly appreciated. Thanks.
>
> [image: Low Kian Seong on about.me]
>
> Low Kian Seong
> about.me/lowkianseong
>     <http://about.me/lowkianseong>
>  _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
> deng lifen
> erlangdlf@REDACTED
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140516/24719127/attachment.htm>


More information about the erlang-questions mailing list