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