Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
>Received: from ute.port.de (oe@ute.port.de [194.173.33.3])
	by ute.port.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id OAA13623;
	Mon, 17 Apr 2000 14:11:59 +0200
Message-ID: <38FAFF8F.9D9933C1@ute.port.de>
Date: Mon, 17 Apr 2000 14:11:59 +0200
From: Heinz-Juergen Oertel <oe@port.de>
Organization: port GmbH Germany
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Rabbe Fogelholm <eubrafo@operamail.com>
CC: cygwin@sourceware.cygnus.com
Subject: Re: Scripting FTP transactions ... how?
References: <3916C503@operamail.com>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id HAA05104

Rabbe Fogelholm wrote:
> 
> Hi all,
> 
> I have this seemingly trivial problem: I wish to do some FTP file transfers
> from within a Bourne shell script that runs on top of CygWin and Windows 9x.
> 
> On Solaris, Linux etc I would use the plain old "ftp" command, possibly
> creating a .netrc file on-the-fly if needed. This does not seem to work
> at all with the Win32 FTP command. Furthermore, CygWin Tools does not
> contain an ftp command either.
> 

do the same here.
I use the ftp client
in /windows/ftp.exe

and call it
/windows/ftp -s:script host

with script something like:
user
passwd
binary
put file
quit


> I did look around for some shareware client, but without success so far.
> 
> If I were doing only downloads (no uploads) I could get along with Lynx.
> However, I need a solution for the upload case as well.
> 
> Any hints welcome! There ought to be a solution for a trivial problem
> like this, only I don't know in which direction to look.
> 
> --Rabbe Fogelholm, Sollentuna, Sweden
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

-- 
with best regards / mit freundlichen Grüßen

   Heinz-Jürgen Oertel

===========================================
Heinz-Jürgen Oertel
port GmbH            phone +49 345 77755-0
Regensburger Str. 7c fax   +49 345 77755-20
D-06132 Halle/Saale  mailto:oe@port.de
Germany              http://www.port.de
===========================================


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

