delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/07/08:21:07

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Richard Ivarson <RiIvarson AT gmail DOT com>
Subject: Webdav cadaver: script possible?
Date: Fri, 07 Sep 2007 14:18:18 +0200
Lines: 24
Message-ID: <fbrfm3$942$1@sea.gmane.org>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

with the ugly sounding but nice Cygwin tool "cadaver" (a command line Webdav 
client, like ftp) I would like to automatically download some files from the 
Webdav server to my local drive.

However, in contrast to for example lftp, I don't see a way how to do the few 
commands automatically.

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

In case there's no way to use a script, would it be possible to "somehow" 
give all the command lines to the console which runs the cadaver program?

Thanks.

-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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019