X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Richard Ivarson Subject: Re: Webdav batch file transfer: curl, wget Date: Wed, 12 Sep 2007 14:05:40 +0200 Lines: 20 Message-ID: References: <75cc17ac0709111359u1b7635ej4cc3bab19658af46 AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/