Hi Vieri,<br>There is cadaver.patch file attached to this message - an output of svn diff from my source tree.š This patch introduces -f option, which allows to read in a script file with the lines you would otherwise type in the cadaver command-line.<br>
<br><div class="gmail_quote">28 ÉÀÌÑ 2009 Ç. 19:00 ÐÏÌØÚÏ×ÁÔÅÌØ  <span dir="ltr">&lt;<a href="mailto:cadaver-request@lists.manyfish.co.uk">cadaver-request@lists.manyfish.co.uk</a>&gt;</span> ÎÁÐÉÓÁÌ:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send cadaver mailing list submissions to<br>
 š š š š<a href="mailto:cadaver@lists.manyfish.co.uk">cadaver@lists.manyfish.co.uk</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 š š š š<a href="http://lists.manyfish.co.uk/mailman/listinfo/cadaver" target="_blank">http://lists.manyfish.co.uk/mailman/listinfo/cadaver</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
 š š š š<a href="mailto:cadaver-request@lists.manyfish.co.uk">cadaver-request@lists.manyfish.co.uk</a><br>
<br>
You can reach the person managing the list at<br>
 š š š š<a href="mailto:cadaver-owner@lists.manyfish.co.uk">cadaver-owner@lists.manyfish.co.uk</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of cadaver digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
 š 1. Re: cadaver: how to automate from command line (Vieri)<br>
 š š š(Eugene Dorfman)<br>
 š 2. Re: cadaver: how to automate from command line (Vieri) (Vieri)<br>
<br><br>---------- ðÅÒÅÓÙÌÁÅÍÏÅ ÓÏÏÂÝÅÎÉÅ ----------<br>From:šEugene Dorfman &lt;<a href="mailto:eugene.dorfman@gmail.com">eugene.dorfman@gmail.com</a>&gt;<br>To:š<a href="mailto:cadaver@lists.manyfish.co.uk">cadaver@lists.manyfish.co.uk</a><br>
Date:šMon, 27 Jul 2009 19:32:51 +0300<br>Subject:šRe: cadaver: how to automate from command line (Vieri)<br>Hi <br>there is indeed no way to script in cadaver directly, however there are 2 (or more) alternatives you have there:<br>
1. use expect - a special program which allows to create a special tcl script automating other application running in terminal<br>
2. I patched cadaver so that it accepts script-file as an option and then executes this script-file line by line. This patch however never made it to the cadaver svn repositary, I use it locally on my checked out source tree.š If you are interested I can send you a linux build of patched cadaver and the patch itself to apply to your source tree.<br>

<br><div class="gmail_quote">2009/7/27  <span dir="ltr">&lt;<a href="mailto:cadaver-request@lists.manyfish.co.uk" target="_blank">cadaver-request@lists.manyfish.co.uk</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Send cadaver mailing list submissions to<br>
 š š š š<a href="mailto:cadaver@lists.manyfish.co.uk" target="_blank">cadaver@lists.manyfish.co.uk</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 š š š š<a href="http://lists.manyfish.co.uk/mailman/listinfo/cadaver" target="_blank">http://lists.manyfish.co.uk/mailman/listinfo/cadaver</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
 š š š š<a href="mailto:cadaver-request@lists.manyfish.co.uk" target="_blank">cadaver-request@lists.manyfish.co.uk</a><br>
<br>
You can reach the person managing the list at<br>
 š š š š<a href="mailto:cadaver-owner@lists.manyfish.co.uk" target="_blank">cadaver-owner@lists.manyfish.co.uk</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of cadaver digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
 š 1. cadaver: how to automate from command line (Vieri)<br>
<br><br>---------- ðÅÒÅÓÙÌÁÅÍÏÅ ÓÏÏÂÝÅÎÉÅ ----------<br>From:šVieri &lt;<a href="mailto:rentorbuy@yahoo.com" target="_blank">rentorbuy@yahoo.com</a>&gt;<br>To:š<a href="mailto:cadaver@lists.manyfish.co.uk" target="_blank">cadaver@lists.manyfish.co.uk</a><br>

Date:šMon, 27 Jul 2009 03:55:37 -0700 (PDT)<br>Subject:šcadaver: how to automate from command line<br><br>
Hi,<br>
<br>
Is it possible to &quot;automate&quot; cadaver from the command-line and/or from a custom script?<br>
<br>
It seems that usage is limited to specifying few options:<br>
Usage: cadaver [OPTIONS] <a href="http://hostname" target="_blank">http://hostname</a>[:port]/path<br>
<br>
How can I avoid entering the &quot;dav:!&gt;&quot; shell but perform operations such as an mput?<br>
<br>
I need to create a script or GUI which allows users to quickly upload mutltiple files in &quot;just a few clicks&quot;. I tried the DAVExplorer applet, which would actually be fine for my purpose, if it weren&#39;t for the fact that I can&#39;t &quot;write&quot; more than one file at a time (or at least I don&#39;t know how).<br>


<br>
Thanks,<br>
<br>
Vieri<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
cadaver mailing list<br>
<a href="mailto:cadaver@lists.manyfish.co.uk" target="_blank">cadaver@lists.manyfish.co.uk</a><br>
<a href="http://lists.manyfish.co.uk/mailman/listinfo/cadaver" target="_blank">http://lists.manyfish.co.uk/mailman/listinfo/cadaver</a><br>
<br></blockquote></div><br>
<br><br>---------- ðÅÒÅÓÙÌÁÅÍÏÅ ÓÏÏÂÝÅÎÉÅ ----------<br>From:šVieri &lt;<a href="mailto:rentorbuy@yahoo.com">rentorbuy@yahoo.com</a>&gt;<br>To:š<a href="mailto:cadaver@lists.manyfish.co.uk">cadaver@lists.manyfish.co.uk</a><br>
Date:šMon, 27 Jul 2009 11:30:05 -0700 (PDT)<br>Subject:šRe: cadaver: how to automate from command line (Vieri)<br><br>
<br>
<br>
--- On Mon, 7/27/09, Eugene Dorfman &lt;<a href="mailto:eugene.dorfman@gmail.com">eugene.dorfman@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi<br>
&gt; there is indeed no way to script in cadaver directly,<br>
&gt; however there are 2 (or more) alternatives you have there:<br>
&gt; 1. use expect - a special program which allows to create a<br>
&gt; special tcl script automating other application running in<br>
&gt; terminal<br>
&gt;<br>
&gt; 2. I patched cadaver so that it accepts script-file as an<br>
&gt; option and then executes this script-file line by line. This<br>
&gt; patch however never made it to the cadaver svn repositary, I<br>
&gt; use it locally on my checked out source tree.š If you are<br>
&gt; interested I can send you a linux build of patched cadaver<br>
&gt; and the patch itself to apply to your source tree.<br>
<br>
I&#39;d rather use the patched Cadaver source than Expect (simpler deployment).<br>
Also, I would require rebuilding the source for Windows (currently using Cygwin&#39;s Cadaver binary).<br>
<br>
If you can share your patch that would be great.<br>
<br>
Thanks in advance,<br>
<br>
Vieri<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
cadaver mailing list<br>
<a href="mailto:cadaver@lists.manyfish.co.uk">cadaver@lists.manyfish.co.uk</a><br>
<a href="http://lists.manyfish.co.uk/mailman/listinfo/cadaver" target="_blank">http://lists.manyfish.co.uk/mailman/listinfo/cadaver</a><br>
<br></blockquote></div><br>