delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/17/07:12:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
>Received: from ute.port.de (oe AT ute DOT port DOT 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 AT port DOT 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 AT operamail DOT com>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Scripting FTP transactions ... how?
References: <3916C503 AT operamail DOT com>
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 AT sourceware DOT cygnus DOT 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 AT port DOT de
Germany              http://www.port.de
===========================================


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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