Date: Mon, 20 Aug 2001 16:07:57 +1000 From: "kyle pchost.com" <kyle@pchost.com.au> To: <freebsd-questions@freebsd.org> Subject: ftp from cron Message-ID: <00e801c1293e$75ad7e20$0100007f@localhost>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi I have been trying to cron to = perform a ftp=20 retrieve with the following line</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>30 =20 * = * =20 * =20 * /usr/bin/ftp -n -v <=20 /www/ascetgroup/mildura/admin/getweather</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>but I get the following = error.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>-------------></FONT></DIV> <DIV><FONT face=3DArial size=3D2>Connected to <A=20 href=3D"ftp://ftp.theweather.com.au">ftp.theweather.com.au</A>.<BR>220 = web-server=20 Microsoft FTP Service (Version 4.0).<BR>331 Password required for=20 mildura.<BR>230-Welcome to The Weather Company FTP = Server.<BR>230-<BR>230-Should=20 you need to contact us, please do so <BR>230-on +612 9955 7704 or via <A = href=3D"mailto:support@theweather.com.au">support@theweather.com.au</A><B= R>230-Samples=20 of our data products can be downloaded from the samples = directory.<BR>230 User=20 mildura logged in.<BR>Local directory now=20 /usr/local/share/apache/htdocs/ascetgroup/mildura/admin<BR>Hash mark = printing on=20 (1024 bytes/hash mark).<BR>200 Type set to I.<BR>ftp: connect: Network = dropped=20 connection on reset<BR>Passive mode on.<BR>Interactive mode off.<BR>221=20 Bye.</FONT></DIV> <DIV><FONT face=3DArial = size=3D2>------------------------------></FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>yet if I try that same command from the = commandline=20 it works just fine</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>any help would be great.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>kyle</FONT></DIV> <DIV> </DIV></BODY></HTML> ------=_NextPart_000_00E5_01C12992.46A0EC80-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00e801c1293e$75ad7e20$0100007f>