|
-- -- [ Picked text/plain from multipart/alternative ] In a similar situation I've relied upon the log file. This can be created, saved, and read easily on the AS/400 green-screen. The client's understanding of the log file is more probable than any other solution that is reasonable to expect. Couple that with a program to allow the script file(s) to be edited by their staff, and your problem should at least be manageable and within the the ordinary CL and RPGLE I've done a FTP scripting thing. It may be a little more than you want, but e-mail me if you'd like to peek at the code. --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@MartinVT.com --------------------------------------------------------- -------Original Message------- From: midrange-l@midrange.com Date: Wednesday, August 28, 2002 03:03:07 PM To: midrange-l@midrange.com Subject: RE: Comments in an FTP input script Buck, It's not so much of a budget as it is a time constraint - i'd like to have this little app up and running by the end-of-week. It crossed my mind that i could save some time by commenting each file download with some app specific info, rather than trying to parse the 'get' command. I searched the archive and found many references to Scott's API - even downloaded it and considered using it - but, no disrespect to him, I didn't want to saddle my client with an application that relies on an unsupported freeware sockets utility that I wouldn't be able to support once i'm gone. for instance, if something changes in a new release of os/400, and bombs his API, they wouldn't have a clue as to how to fix it. I'm considering going ahead and putting the comments in the script anyway and letting ftp error out and reply with 'command not understood' error and be done with it. I'll let you know if that works. thanks again, Rick -----original message----- >I'd like to insert some comment >lines into an FTP script that would >...help me parse my errors. Debugging script-based FTP sessions is one of the reasons to use a commercial product like Alliance (not affiliated.) If your money budget is small and your time budget large, check out Scott Klement's FTP API. You can find the link in the FAQ under FTP. http://faq.midrange.com I don't personally know of a way to write your own entries to FTP's stdout or sdterr, but if you figure one out, please add it to the FTP FAQ! --buck _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. . -- [ Content of type image/gif deleted ] --
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.