From: schweng@astro.unibas.ch (Hans Schwengeler)
Subject: Re: FTP Scripting
Date: 2 Feb 2001 15:04:03 +0100 [thread overview]
Message-ID: <3a7abe53$1@maser.urz.unibas.ch> (raw)
In-Reply-To: 95e39j$kgo$1@nnrp1.deja.com
In article <95e39j$kgo$1@nnrp1.deja.com>,
freedave73@hotmail.com writes:
> Can anyone please help. I am having difficulty in creating a script to
> run a series of mput statements on a remote server via FTP.
>
> Is it possible to script FTP in Digital UNIX 4.0D or E and if so, how
> do I do it?
>
> If anyone can help I would be very grateful.
>
> Cheers
> Dave
>
>
> Sent via Deja.com
> http://www.deja.com/
Dear Dave,
well, in those old times I used the following:
#!/usr/bin/sh
ftp -n ftphost.somewhere.com <<EXIT
user anonymous user@myhost.here.edu
cd pub
cd software
binary
get test.tar.gz
quit
EXIT
Hope this helps.
Yours, Hans.
--
===============================================================================
Hans Schwengeler
Astronomical Institute INTERNET: schweng@astro.unibas.ch
University of Basel Hans.Schwengeler@unibas.ch
Venusstrasse 7
CH-4102 Binningen PHONE: +41 61 20 55 422
Switzerland FAX: +41 61 20 55 455
===============================================================================
next prev parent reply other threads:[~2001-02-02 14:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-02 10:48 FTP Scripting freedave73
2001-02-02 14:04 ` Hans Schwengeler [this message]
2001-02-02 23:08 ` RL Griswold
2001-02-05 10:17 ` Aneesh Kumar K.V
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox