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"><<a href="mailto:cadaver-request@lists.manyfish.co.uk">cadaver-request@lists.manyfish.co.uk</a>></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 'help' 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 "Re: Contents of cadaver digest..."<br>
<br>Today's Topics:<br>
<br>
š 1. cadaver: how to automate from command line (Vieri)<br>
<br><br>---------- ðÅÒÅÓÙÌÁÅÍÏÅ ÓÏÏÂÝÅÎÉÅ ----------<br>From:šVieri <<a href="mailto:rentorbuy@yahoo.com">rentorbuy@yahoo.com</a>><br>To:š<a href="mailto:cadaver@lists.manyfish.co.uk">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 "automate" 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 "dav:!>" 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 "just a few clicks". I tried the DAVExplorer applet, which would actually be fine for my purpose, if it weren't for the fact that I can't "write" more than one file at a time (or at least I don'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">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>