|
First, you need to have FTP Server software running on the PC. THis could be native Windows services or a "try/B4/buy" package such as ServU available from the internet. Then you need a way to "batch" the STRTCPFTP command. There is a code sample in the "who knew you could do that with RPGIV". We took this code sample and expanded on it to handle different hosts, and mget/mput with full error checking. I will provide you with our code if you wish it. GordRoyle ---------- Original Text ---------- From: Dhatha Thriyan <deardhath@hotmail.com>, on 10/3/00 9:15 AM: Hello All, I need to transfer a database file to a PC(remote workstation). I need to do this as a batch job. When I tried to ftp to the PC(using the PC name, the as400 resolves the IP address), I am getting an error " Could not able to connect. Try again later". But when I ping the PC from the AS400, the ping was successfull. How can I connect to the PC from AS400...? I am using RUMBA emulation software. Thank you for your help, Dhatha +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- _______________________________________________________________ Cott - The Leader in Premium Retailer Brand Beverage Innovation. _______________________________________________________________ +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.