× 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.



What's in file SPSOBJ/FTPLOG.OUT2? That contains your FTP messages.


> -------- Original Message --------
> Subject: Setting up FTP Job
> From: "Brian Piotrowski" <bpiotrowski@xxxxxxxxxxxxxxx>
> Date: Thu, December 22, 2005 9:12 am
> To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
> 
> 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
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
>  
> 
> -- 
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.