Fwd: Script cadaver
Leo
lbermude at gmail.com
Tue Oct 21 13:41:22 EDT 2008
I think i just answered my own question. This is what i put in the .netrc:
machine wiki.webdavserver.com
login usernamehere
password pass4usernamehere
Then on .cadaverrc:
open http://wiki.webdavserver.com/plugins/servlet/webdav
cd Global
cd Home
mput *.jpg
mput *.html
quit
And it worked :)
The quit is not working tough. I dont know how to apply the patch. Is
there a tar.gz available?
Thanks
Leo
---------- Forwarded message ----------
From: Leo <lbermude at gmail.com>
Date: Tue, Oct 21, 2008 at 12:28 PM
Subject: Script cadaver
To: cadaver at lists.manyfish.co.uk
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