[ale] FW: How to Automate FTP ????

Michael A. Smith masmith at bsat.com
Mon May 24 07:28:34 EDT 1999


This is a multi-part message in MIME format.

------=_NextPart_000_0008_01BEA5B7.089715B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

FW: How to Automate FTP ????Here you go....

Here's the command:
ftp -n -s:c:\upload.xxx

Here's the file upload.xxx:
open xxx.xxx.xxx.xxx
user <your userid>
<password>
cd <directory that you want to go to>
binary
<whatever ftp command>

Issues:
No real error checking.

Suggestions:
Since NT doesn't have cron, use the scheduler..



  -----Original Message-----
  From: owner-ale at ale.org [mailto:owner-ale at ale.org]On Behalf Of
Vijayaraman.S,J16 Chennai
  Sent: Monday, May 24, 1999 2:16 AM
  To: ale at ale.org
  Subject: [ale] FW: How to Automate FTP ????




  Hi All,
   well this is actually a help i need. I need to automate FTP to  a
particular machine from my client an Windows NT
   i want to upload data from this NT to a Unix box or an IBM S/390
(mainframe) every 5 minutes ,but i am not able to automate the ftp to given
IP address say for example i need to FTP data to 123.100.123.12 with a user
id of 'xyz' and password 'abcd' with binary mode of transfer and a default
directory of 'dir1' in the host. Any ideas??????

  Thanks.

  Regards,
  S. VIJAYARAMAN,


------=_NextPart_000_0008_01BEA5B7.089715B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
</pre>
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>FW: How to Automate FTP ????</TITLE>

<META content=3D"MSHTML 5.00.2614.3401" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D995272311-24051999>Here=20
you go....</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D995272311-24051999></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D995272311-24051999>Here's=20
the command:</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D995272311-24051999>ftp -n=20
-s:c:\upload.xxx</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D995272311-24051999>Here's=20
the file upload.xxx:</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D995272311-24051999>open=20
xxx.xxx.xxx.xxx</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D995272311-24051999>user=20
<your userid></SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D995272311-24051999><password></SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D995272311-24051999>cd=20
<directory that you want to go to></SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D995272311-24051999>binary</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D995272311-24051999><whatever ftp =
command></SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D995272311-24051999></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D995272311-24051999>Issues:</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D995272311-24051999>No=20
real error checking.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D995272311-24051999></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D995272311-24051999>Suggestions:</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D995272311-24051999>Since=20
NT doesn't have cron, use the scheduler..</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D995272311-24051999></SPAN></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D995272311-24051999></SPAN></FONT> </DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px">
  <DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
  size=3D2>-----Original Message-----<BR><B>From:</B> owner-ale at ale.org=20
  [mailto:owner-ale at ale.org]<B>On Behalf Of</B> Vijayaraman.S,J16=20
  Chennai<BR><B>Sent:</B> Monday, May 24, 1999 2:16 AM<BR><B>To:</B>=20
  ale at ale.org<BR><B>Subject:</B> [ale] FW: How to Automate FTP=20
  ????<BR><BR></DIV></FONT><BR>
  <P><FONT face=3DArial>Hi All,</FONT> <BR><FONT face=3DArial> well =
this is=20
  actually a help i need. I need to automate FTP to  a particular =
machine=20
  from my client an Windows NT</FONT> <BR><FONT face=3DArial> i =
want to=20
  upload data from this NT to a Unix box or an IBM S/390 (mainframe) =
every 5=20
  minutes ,but i am not able to automate the ftp to given IP address say =
for=20
  example i need to FTP data to 123.100.123.12 with a user id of 'xyz' =
and=20
  password 'abcd' with binary mode of transfer and a default directory =
of 'dir1'=20
  in the host. Any ideas??????</FONT></P>
  <P><FONT face=3DArial>Thanks.</FONT> </P>
  <P><B><FONT face=3D"Courier New" size=3D2>Regards,</FONT></B> =
<BR><B><FONT=20
  color=3D#ff0000 face=3D"Courier New" size=3D2>S. =
VIJAYARAMAN</FONT></B><FONT=20
  color=3D#000000 face=3DArial size=3D2>,</FONT><FONT color=3D#000000=20
  face=3D"Times New Roman"> </FONT></P></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0008_01BEA5B7.089715B0--






More information about the Ale mailing list