looking for 'quit' in cadaverrc

Wolfram Riedel taisto at web.de
Mon Oct 6 08:38:52 EDT 2008


Hi.

Henrik Holst schrieb:
>> I'm trying to automate uploading to a webdav server with cadaver.
>> This actually works using netrc for credentials and cadaverrc as sort 
>> of batch script. But it seems that in cadaverrc the 'quit' command is 
>> not supported or ignored, leaving the process in an interactive state 
>> after uploading.
>> It would be great if you could get 'quit' to work, give me a hint if I 
>> overlooked something, or tell me if there is a better approach for 
>> doing this.
> 
> I've looked over the code and noticed that you are indeed correct, not
> only does it not quit it also processes all lines after the quit command
> in .cadaverrc!!
> 
> I have added a patch to this mail that corrects this, hopefully Joe will
> accept it into mainline :)

The patch is working.

Thanks a lot! :)

-- 
__        ______
\ \   _  / /  _ \  Wolfram Riedel <taisto at web.de>
  \ \ / // /| |_) | http://wolframswebworld.de
   \ V /V / |  _ <  Berlin-Charlottenburg/Germany
    \_/\_/  |_| \_\ Geek by Nature, Linux by Choice

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT/TW d->+ s-:- a C---$ UL$ P>+ L+++$ E-- W++ N o K--? !w !O M !V
PS++ PE- !Y PGP t++@ !5 !X !R tv b DI !D-- G(-) e+++ h--- r++ y?
------END GEEK CODE BLOCK------




More information about the cadaver mailing list