Webdav batch file transfer: curl, wget
Richard Ivarson
RiIvarson@gmail.com
Wed Sep 12 12:06:00 GMT 2007
Richard Ivarson schrieb:
[..]
> A) *wget*
> Fetching the files with wget works:
> wget --user=NAME --password=PASS
> https://webdavserver.com/folder/fileAA.txt
>
> I've seen two handicaps:
> 1) I want to use a script so I don't want to store the password in the
> script
[..]
> curl --user NAME:PASSWORD
> https://webdavserver.com/folder/{fileAA,fileBB,fileCC,fileDD,fileEE,}.txt
> -O -O -O -O -O
... I forgot to mention: In contrast to A)1) with curl you can ommit the
":PASSWORD" in the script. The curl then nicely asks for it at runtime.
-ric
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list