[erlang-questions] Questions about zip

deng lifen erlangdlf@REDACTED
Fri May 16 09:33:53 CEST 2014


1> zip:zip_open("dome.zip", [{cwd, <<"/home/lowks/Downloads">>}]).


在 2014年5月16日,15:22,Low Kian Seong <kianseong@REDACTED> 写道:

> I got this:
> 
> 6> zip:zip_open('dome.zip', [{'cwd', <<'/home/lowks/Downloads'>>}]).
> ** exception error: bad argument
> 
> 
>  
> 
>  	
> Low Kian Seong
> 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.
>>  
>> 
>>  	
>> Low Kian Seong
>> about.me/lowkianseong
>>  
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
> 
> deng lifen
> erlangdlf@REDACTED
> 
> 
> 
> 

deng lifen
erlangdlf@REDACTED



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140516/f35e31f8/attachment.htm>


More information about the erlang-questions mailing list