× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks to everyone who helped me yesterday with connecting to our FTP
site using our AS/400.

 

I'm in the middle of writing an automated script to download the data
from our site on a timely manner.  Here's the current CLP:

 

              PGM                                                       

                                                                        

              OVRDBF     FILE(INPUT) TOFILE(SPSSRC/QCLSRC) MBR(FTPAFON2)

              OVRDBF     FILE(OUTPUT) TOFILE(SPSOBJ/FTPLOG) MBR(OUT2)   

                                                                        

  PLANT2:     FTP        RMTSYS('192.168.0.100')


              MONMSG     MSGID(CPF0000) EXEC(DO)                        

              SNDUSRMSG  MSG('AFON P1 was not done normally as +        

                           "FTP" command.') MSGTYPE(*INFO) +            

                           TOMSGQ(QSYSOPR)                              

              ENDDO                                                     

                                                                        

  END:        ENDPGM                                                    

 

In my FTPAFON2 script, I have the following:

<username>

<password>

locsite namefmt 1    

lcd /home/AFON       

get BOS2.TXT (REPLACE

QUIT

 

I compiled the CLP and ran it, but it doesn't appear to do anything
useful, and I'm not exactly sure where the problem exists.  I checked
the job log, but it doesn't give me any useful information.

 

Does anyone have any ideas?

 

Incidentally, when I log into the FTP site, it has this information:
UNIX Type: L8 Version: BSD-44.  Do I need to add some type of pause in
my script to allow for the prompts?

 

Thanks!

 

Brian.

 

-=-=-=-=-=-=-=-=-=-=-=-=-=-

Brian Piotrowski

Specialist - I.T.

Simcoe Parts Service, Inc.

PH: 705-435-7814

FX: 705-435-6746

-=-=-=-=-=-=-=-=-=-=-=-=-=-

 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.