From owner-freebsd-questions Sun Aug 19 23: 8:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mx02.iprimus.com.au (mx02.iprimus.com.au [203.134.65.91]) by hub.freebsd.org (Postfix) with ESMTP id 4ACE937B40F for ; Sun, 19 Aug 2001 23:08:08 -0700 (PDT) (envelope-from kyle@pchost.com.au) Received: from localhost ([203.134.46.230]) by mx02.iprimus.com.au with Microsoft SMTPSVC(5.5.1877.647.64); Mon, 20 Aug 2001 16:08:04 +1000 Message-ID: <00e801c1293e$75ad7e20$0100007f@localhost> From: "kyle pchost.com" To: Subject: ftp from cron Date: Mon, 20 Aug 2001 16:07:57 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00E5_01C12992.46A0EC80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_00E5_01C12992.46A0EC80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi I have been trying to cron to perform a ftp retrieve with the = following line 30 * * * * /usr/bin/ftp -n -v < = /www/ascetgroup/mildura/admin/getweather but I get the following error. -------------> Connected to ftp.theweather.com.au. 220 web-server Microsoft FTP Service (Version 4.0). 331 Password required for mildura. 230-Welcome to The Weather Company FTP Server. 230- 230-Should you need to contact us, please do so=20 230-on +612 9955 7704 or via support@theweather.com.au 230-Samples of our data products can be downloaded from the samples = directory. 230 User mildura logged in. Local directory now = /usr/local/share/apache/htdocs/ascetgroup/mildura/admin Hash mark printing on (1024 bytes/hash mark). 200 Type set to I. ftp: connect: Network dropped connection on reset Passive mode on. Interactive mode off. 221 Bye. ------------------------------> yet if I try that same command from the commandline it works just fine any help would be great. thanks kyle ------=_NextPart_000_00E5_01C12992.46A0EC80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi I have been trying to cron to = perform a ftp=20 retrieve with the following line
 
30     =20 *       = *      =20 *      =20 *       /usr/bin/ftp -n -v <=20 /www/ascetgroup/mildura/admin/getweather
 
but I get the following = error.
 
------------->
Connected to ftp.theweather.com.au.
220 = web-server=20 Microsoft FTP Service (Version 4.0).
331 Password required for=20 mildura.
230-Welcome to The Weather Company FTP = Server.
230-
230-Should=20 you need to contact us, please do so
230-on +612 9955 7704 or via support@theweather.com.au230-Samples=20 of our data products can be downloaded from the samples = directory.
230 User=20 mildura logged in.
Local directory now=20 /usr/local/share/apache/htdocs/ascetgroup/mildura/admin
Hash mark = printing on=20 (1024 bytes/hash mark).
200 Type set to I.
ftp: connect: Network = dropped=20 connection on reset
Passive mode on.
Interactive mode off.
221=20 Bye.
------------------------------>
 
yet if I try that same command from the = commandline=20 it works just fine
 
any help would be great.
 
thanks
 
kyle
 
------=_NextPart_000_00E5_01C12992.46A0EC80-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message