|
For details about ftp check out the faq located at the midrange.com FAQ section: http://faq.midrange.com/index.pl?_highlightWords=ftp%20script&file=67 Rob Berendt ================== A smart person learns from their mistakes, but a wise person learns from OTHER peoples mistakes. "Chi Leung" <cleung@celsinc.com To: <MIDRANGE-L@midrange.com> > cc: Sent by: Subject: RE: Automated FTP owner-midrange-l@mi drange.com 05/22/01 02:19 PM Please respond to MIDRANGE-L Good Afternoon: I have to ftp a file via internet to a remote 400 everyday. On the command line I have to do a FTP F4, then our NT server address because our 400 is behind the NT server. Then I need to call the remote server via ftpa6800@address.com, then enter password; then I use PUT to process file transfer. I try to build a CL with OVRDBF with no success because I don't know how to script the password. Can someone point me to a direction of setting up a FTP script in 400, please ?? Thank you very much. C. Leung (310)838-2103 ext 385 -----Original Message----- From: owner-midrange-l@midrange.com [mailto:owner-midrange-l@midrange.com]On Behalf Of Ron.Hudson@ColAik.com Sent: Tuesday, May 22, 2001 11:13 AM To: MIDRANGE-L@midrange.com Subject: Automated FTP We are discussing a project where I will need to FTP a file to a Digital Alpha server automatically every hour. The last time I did this was in 1997. Sample CLP below. OVRDBF FILE(INPUT) TOFILE(EGPL/QCLSRC) MBR(FTPCMDS) OVRDBF FILE(OUTPUT) TOFILE(EGPL/QCLSRC) MBR(FTPOUT) FTP RMTSYS(ALPHA) This works, but my dislike is checking for errors. To determine if there were any problems with the transfer, you had to interrogate the FTPOUT. With this being an automated process, having a program to read the FTPOUT looking for errors isn't the best of solutions in my opinion. Is there a better way to handle this? Thanks Ron Hudson Ron.Hudson@colaik.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.