<html><head><meta http-equiv="Content-Type" content="text/html charset=GB2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>try this:</div><div><br></div><div>zip:zip_open('dome.zip', [{'cwd', <<'/home/lowks/Downloads'>>}]).</div><div><br></div><br><div><div>在 2014年5月16日,14:58,Low Kian Seong <<a href="mailto:kianseong@gmail.com">kianseong@gmail.com</a>> 写道:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div><div>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?<br><br>2> zip:zip_open('dome.zip', [{'cwd': <<'/home/lowks/Downloads'>>}])<br>
2> .<br>* 1: illegal expression<br><br></div>also The second one gives back ok, but when I check the zip file is still compressed.<br><br>4> zip:zip_open("dome.zip").<br>{ok,<0.40.0>}<br><br><br></div>
Some help is greatlly appreciated. Thanks.<br clear="all"><div><div><div dir="ltr">
<a href="http://about.me/lowkianseong" style="text-decoration:none" target="_blank">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr><td colspan="3" style="height:30px;font-size:0px"> </td></tr>
<tr>
<td style="line-height:1;vertical-align:top" align="left" valign="top">
<div><img src="http://d3mod6n032mdiz.cloudfront.net/thumb2/l/o/w/lowkianseong/lowkianseong-105x70.jpg" alt="Low Kian Seong on about.me" style="margin: 0px; padding: 0px; display: block; border: 1px solid rgb(238, 238, 238);" height="70" width="105"></div>
</td>
<td style="width:10px;font-size:0px"> </td>
<td style="line-height:1;padding:0px 0px 3px;vertical-align:bottom" align="left" valign="bottom">
<div style="margin:0px;font-size:18px;line-height:1;font-weight:bold;color:rgb(51,51,51);font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,Sans-Serif">Low Kian Seong</div>
<div style="margin:1px 0px 0px;font-size:12px;color:rgb(43,130,173);font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,Sans-Serif">about.me/lowkianseong</div>
</td>
</tr>
<tr><td colspan="3" style="height:20px;font-size:0px"> </td></tr>
</tbody>
</table>
</a>
</div></div>
</div></div>
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>http://erlang.org/mailman/listinfo/erlang-questions<br></blockquote></div><br><div apple-content-edited="true">
deng lifen<br><a href="mailto:erlangdlf@gmail.com">erlangdlf@gmail.com</a><br><br><br>
</div>
<br></body></html>