cadaver: how to automate from command line

Eugene Dorfman eugene.dorfman at gmail.com
Tue Jul 28 12:12:07 EDT 2009


Hi Vieri,
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.

28 июля 2009 г. 19:00 пользователь
<cadaver-request at lists.manyfish.co.uk>написал:

> Send cadaver mailing list submissions to
>        cadaver at lists.manyfish.co.uk
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.manyfish.co.uk/mailman/listinfo/cadaver
> or, via email, send a message with subject or body 'help' to
>        cadaver-request at lists.manyfish.co.uk
>
> You can reach the person managing the list at
>        cadaver-owner at lists.manyfish.co.uk
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of cadaver digest..."
>
> Today's Topics:
>
>   1. Re: cadaver: how to automate from command line (Vieri)
>      (Eugene Dorfman)
>   2. Re: cadaver: how to automate from command line (Vieri) (Vieri)
>
>
> ---------- Пересылаемое сообщение ----------
> From: Eugene Dorfman <eugene.dorfman at gmail.com>
> To: cadaver at lists.manyfish.co.uk
> Date: Mon, 27 Jul 2009 19:32:51 +0300
> Subject: Re: cadaver: how to automate from command line (Vieri)
> Hi
> there is indeed no way to script in cadaver directly, however there are 2
> (or more) alternatives you have there:
> 1. use expect - a special program which allows to create a special tcl
> script automating other application running in terminal
> 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.
>
> 2009/7/27 <cadaver-request at lists.manyfish.co.uk>
>
>> Send cadaver mailing list submissions to
>>        cadaver at lists.manyfish.co.uk
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://lists.manyfish.co.uk/mailman/listinfo/cadaver
>> or, via email, send a message with subject or body 'help' to
>>        cadaver-request at lists.manyfish.co.uk
>>
>> You can reach the person managing the list at
>>        cadaver-owner at lists.manyfish.co.uk
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of cadaver digest..."
>>
>> Today's Topics:
>>
>>   1. cadaver: how to automate from command line (Vieri)
>>
>>
>> ---------- Пересылаемое сообщение ----------
>> From: Vieri <rentorbuy at yahoo.com>
>> To: cadaver at lists.manyfish.co.uk
>> Date: Mon, 27 Jul 2009 03:55:37 -0700 (PDT)
>> Subject: cadaver: how to automate from command line
>>
>> Hi,
>>
>> Is it possible to "automate" cadaver from the command-line and/or from a
>> custom script?
>>
>> It seems that usage is limited to specifying few options:
>> Usage: cadaver [OPTIONS] http://hostname[:port]/path
>>
>> How can I avoid entering the "dav:!>" shell but perform operations such as
>> an mput?
>>
>> 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).
>>
>> Thanks,
>>
>> Vieri
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> cadaver mailing list
>> cadaver at lists.manyfish.co.uk
>> http://lists.manyfish.co.uk/mailman/listinfo/cadaver
>>
>>
>
>
> ---------- Пересылаемое сообщение ----------
> From: Vieri <rentorbuy at yahoo.com>
> To: cadaver at lists.manyfish.co.uk
> Date: Mon, 27 Jul 2009 11:30:05 -0700 (PDT)
> Subject: Re: cadaver: how to automate from command line (Vieri)
>
>
>
> --- On Mon, 7/27/09, Eugene Dorfman <eugene.dorfman at gmail.com> wrote:
>
> > Hi
> > there is indeed no way to script in cadaver directly,
> > however there are 2 (or more) alternatives you have there:
> > 1. use expect - a special program which allows to create a
> > special tcl script automating other application running in
> > terminal
> >
> > 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.
>
> I'd rather use the patched Cadaver source than Expect (simpler deployment).
> Also, I would require rebuilding the source for Windows (currently using
> Cygwin's Cadaver binary).
>
> If you can share your patch that would be great.
>
> Thanks in advance,
>
> Vieri
>
>
>
>
>
>
>
>
> _______________________________________________
> cadaver mailing list
> cadaver at lists.manyfish.co.uk
> http://lists.manyfish.co.uk/mailman/listinfo/cadaver
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.manyfish.co.uk/pipermail/cadaver/attachments/20090728/4721a6e4/attachment-0007.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cadaver.patch
Type: text/x-patch
Size: 4341 bytes
Desc: not available
Url : http://lists.manyfish.co.uk/pipermail/cadaver/attachments/20090728/4721a6e4/attachment-0007.bin 


More information about the cadaver mailing list