Re: Webdav batch file transfer: curl, wget

2007-09-17 Thread Richard Ivarson
Many thanks to all posters on the thread; your comments have been very helpful and it works fine now. Also I learned the differences between wget and curl, too. All the best! -ric -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/probl

Re: Webdav batch file transfer: curl, wget

2007-09-13 Thread Gregg Reynolds
On 9/12/07, Richard Ivarson <[EMAIL PROTECTED]> wrote: > > curl --user NAME:PASSWORD > https://webdavserver.com/folder/{fileAA,fileBB,fileCC,fileDD,fileEE,}.txt -O > -O -O -O -O ... > 1) Is there a simpler way than the five "-O"'s I used? Would a wildcard be > possible (didn't find a mention in t

Re: Webdav batch file transfer: curl, wget

2007-09-13 Thread Gregg Reynolds
On 9/12/07, Brian Dessent <[EMAIL PROTECTED]> wrote: > Curl on the other hand is better suited for http scripting where you are > trying to emulate the actions of a user, such as when submitting form > fields. Wget has the ability to do http POSTs but it only supports the > old "application/x-www

Re: Webdav batch file transfer: curl, wget

2007-09-12 Thread Brian Dessent
Richard Ivarson wrote: > Just great. How I love these Unix tools - and Cygwin which makes Windows > useable. And of course the people helping each other. > > Btw, I still got two small questions: > 1) Is there a simpler way than the five "-O"'s I used? Would a wildcard be > possible (didn't find

RE: Re: Webdav batch file transfer: curl, wget

2007-09-12 Thread Buchbinder, Barry (NIH/NIAID) [E]
Richard Ivarson wrote on Wednesday, September 12, 2007 10:42 AM: > Steve Holden schrieb: > [..] 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

RE: Webdav batch file transfer: curl, wget

2007-09-12 Thread Jeff Hawk
> -Original Message- > From: On Behalf Of Richard Ivarson > Sent: Wednesday, September 12, 2007 9:42 AM > To: cygwin@cygwin.com > Subject: Re: Webdav batch file transfer: curl, wget > > Steve Holden schrieb: > [..] > >>> curl --

Re: Webdav batch file transfer: curl, wget

2007-09-12 Thread Richard Ivarson
Steve Holden schrieb: [..] 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. I

Re: Webdav batch file transfer: curl, wget

2007-09-12 Thread Matthew Woehlke
Richard Ivarson wrote: I've seen two handicaps: 1) I want to use a script so I don't want to store the password in the script file. Ommiting "--password" doesn't ask for it, however. 'ask for password' is planned in a future release of wget (probably the next-to-next release). -- Matthew An

Re: Webdav batch file transfer: curl, wget

2007-09-12 Thread Steve Holden
Richard Ivarson wrote: 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

Re: Webdav batch file transfer: curl, wget

2007-09-12 Thread Richard Ivarson
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 ht

Webdav batch file transfer: curl, wget

2007-09-12 Thread Richard Ivarson
Gregg Reynolds schrieb: On 9/7/07, Richard Ivarson <[EMAIL PROTECTED]> wrote: For example, until now I've to do these steps: > cadaver https://my_webdav.site.com this asks for username and password, then enters cadaver's command mode there I've to enter: * mget the_files * quit If all you'r