cadaver: how to automate from command line (Vieri)

Eugene Dorfman eugene.dorfman at gmail.com
Mon Jul 27 12:32:51 EDT 2009


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.manyfish.co.uk/pipermail/cadaver/attachments/20090727/8b49f465/attachment-0007.html 


More information about the cadaver mailing list