delorie.com/archives/browse.cgi | search |
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: | Re: Webdav cadaver: script possible? |
Date: | Tue, 11 Sep 2007 22:47:38 +0200 |
Lines: | 33 |
Message-ID: | <fc6uuu$vbn$1@sea.gmane.org> |
References: | <fbrfm3$942$1 AT sea DOT gmane DOT org> <fc46eo$fne$1 AT sea DOT gmane DOT org> <fc5j2j$nif$1 AT sea DOT gmane DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 2.0.0.6 (Windows/20070728) |
In-Reply-To: | <fc5j2j$nif$1@sea.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Thorsten Kampe schrieb: > * Richard Ivarson (Mon, 10 Sep 2007 21:37:42 +0200) >> ... or maybe there is another client/programm to access Webdav from within >> Cygwin? >> >> ... or is there any way to feed scripted lines to a standard Cygwin command >> line programm? (Re-direction, somehow?) > > Expect? Thanks for that hint, Thorsten. I didn't know "expect" but it seems very powerful, useful -- and complex to master. :-) Meanwhile due to your hint I've remembered the "simple" redirection method in Windows (and similar in Unix), and tried: cadaver < lines.txt with "lines.txt" holding these three lines: >> USERNAME PASSWORD ls << It partly works: I see that it connects to the Webdav server and prints the directory, so it must have been logged in correctly. However somehow it never comes to line three but just returns... I've got no idea why and also I've got no plan how to make "except" doing the little task. -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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |