Script cadaver

Leo lbermude at gmail.com
Tue Oct 21 13:28:38 EDT 2008


Hi,

I am trying to update a webdev server using a cadaver script but have
not been able to do it.

First I created a script.cadaver file with:


open http://webdavserver..../plugins/servlet/webdav
usernamehere
pass4usernamehere
cd Global
cd Home
mput *.jpg
mput *.html

then i tried:

cadaver < script.cadaver

but i dont think cadaver liked it.

Then i saw that you can use the .cadaverrc file but i am not sure on
how to do that. I tried putting in the .cadaverrc:

open http://webdavserver..../plugins/servlet/webdav
login usernamehere
password pass4usernamehere
cd Global
cd Home
mput *.jpg
mput *.html
quit

but cadaver asked me for authentication.  I tried login, user,
username but none of them worked.

then i put:

machine http://webdavserver..../plugins/servlet/webdav
login usernamehere
password pass4usernamehere

on the .netrc

but it still didn't work.


I appreciate any help on this.

Thanks,

Leonardo

ps: I just installed
cadaver 0.23.2
neon 0.28.0: Bundled build, IPv6, Expat 1.95.7.
readline 4.3




More information about the cadaver mailing list