Hi Jeroen, <br>The problem with .cadaverrc is that even if you put auth credentials into it, cadaver will not respond to "Username:" prompt. However there is another approach which requires to patch cadaver to make it read script files (that can include auth credentials) here: <a href="http://lists.manyfish.co.uk/pipermail/cadaver/2009-July/000463.html">http://lists.manyfish.co.uk/pipermail/cadaver/2009-July/000463.html</a> or use expect (also discussed in that thread).<br>
<br><div class="gmail_quote">2009/11/3 Jeroen van der Vegt <span dir="ltr"><<a href="mailto:jeroen.van.der.vegt@technolution.nl">jeroen.van.der.vegt@technolution.nl</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
<br>
I'm hoping to use cadaver from a script, as indicated here:<br>
<a href="http://lists.manyfish.co.uk/pipermail/cadaver/2008-October/000427.html" target="_blank">http://lists.manyfish.co.uk/pipermail/cadaver/2008-October/000427.html</a> .<br>
<br>
The problem is Cadaver keeps asking for authentication. Could that be<br>
because my webdav server can only be accessed using https?<br>
<br>
.netrc:<br>
<br>
machine webdavserver<br>
login mylogin<br>
password mypassword<br>
<br>
$ cadaver <a href="https://webdavserver/files/" target="_blank">https://webdavserver/files/</a><br>
Authentication required for WebDav Server on server `webdavserver':<br>
Username:<br>
<br>
<br>
Any idea what's wrong?<br>
<br>
Regards,<br>
<br>
Jeroen van der Vegt<br>
System designer<br>
________________________________<br>
<br>
Technolution B.V.<br>
Telephone: +31(0)182 59 40 00<br>
Fax: +31(0)182 53 97 36<br>
E-mail: Jeroen.van.der.Vegt@technolution.eu<br>
Visit us at: www.technolution.eu<br>
Mailing address: P.O. Box 2013 - 2800 BD Gouda - The Netherlands<br>
Address: Zuidelijk Halfrond 1 - 2801 DD Gouda - The Netherlands<br>
<br>
________________________________<br>
<br>
This e-mail is intended exclusively for the addressee(s), and may not be<br>
passed on to, or made available for use by any person other than the<br>
addressee(s). Technolution B.V. rules out any and every liability resulting<br>
from any electronic transmission.<br>
<br>
<br>
</blockquote></div><br>