<div dir="ltr"><div>It's better now, I get this: <br><br>1> zip:zip_open("dome.zip", [{cwd, <<"/home/lowks/Downloads">>}]).<br>{ok,<0.34.0>}<br><br></div>but where is the unzipped content anyway ?<br>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">
                                
        <a href="http://about.me/lowkianseong" style="text-decoration:none" target="_blank">
                <table border="0" cellpadding="0" cellspacing="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:0;padding:0;display:block;border:1px solid #eeeeee" height="70" width="105"></div>

                                        </td>
                                        <td style="width:10px;font-size:0px"> </td>
                                        <td style="line-height:1;padding:0px;padding-bottom:3px;vertical-align:bottom" align="left" valign="bottom">
                                                <div style="margin:0;font-size:18px;line-height:1;font-weight:bold;color:#333333;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,Sans-Serif">Low Kian Seong</div>
                                                <div style="margin:0;margin-top:1px;font-size:12px;color:#2b82ad;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>
<br><br><div class="gmail_quote">On Fri, May 16, 2014 at 3:33 PM, deng lifen <span dir="ltr"><<a href="mailto:erlangdlf@gmail.com" target="_blank">erlangdlf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><br></div><div>1> zip:zip_open("dome.zip", [{cwd, <<"/home/lowks/Downloads">>}]).</div><div><br></div><br><div><div>在 2014年5月16日,15:22,Low Kian Seong <<a href="mailto:kianseong@gmail.com" target="_blank">kianseong@gmail.com</a>> 写道:</div>
<div><div class="h5"><br><blockquote type="cite"><div dir="ltr">I got this:<br><br>6> zip:zip_open('dome.zip', [{'cwd', <<'/home/lowks/Downloads'>>}]).<br>** exception error: bad argument<br>
<br></div><div class="gmail_extra"><br clear="all">
<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:0;padding:0;display:block;border:1px solid #eeeeee" height="70" width="105"></div>


                                        </td>
                                        <td style="width:10px;font-size:0px"> </td>
                                        <td style="line-height:1;padding:0px;padding-bottom:3px;vertical-align:bottom" align="left" valign="bottom">
                                                <div style="margin:0;font-size:18px;line-height:1;font-weight:bold;color:#333333;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,Sans-Serif">Low Kian Seong</div>
                                                <div style="margin:0;margin-top:1px;font-size:12px;color:#2b82ad;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>
<br><br><div class="gmail_quote">On Fri, May 16, 2014 at 3:07 PM, deng lifen <span dir="ltr"><<a href="mailto:erlangdlf@gmail.com" target="_blank">erlangdlf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word"><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" target="_blank">kianseong@gmail.com</a>> 写道:</div>

<br><blockquote type="cite"><div><div><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></div></div><div>
_______________________________________________<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/listinfo/erlang-questions</a><br>

</div></blockquote></div><span><font color="#888888"><br><div>
deng lifen<br><a href="mailto:erlangdlf@gmail.com" target="_blank">erlangdlf@gmail.com</a><br><br><br>

</div>
<br></font></span></div></blockquote></div><br></div>
</blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><div>
deng lifen<br><a href="mailto:erlangdlf@gmail.com" target="_blank">erlangdlf@gmail.com</a><br><br><br>

</div>
<br></font></span></div></blockquote></div><br></div>