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



At 04:29 PM 9/26/97 -0700, you wrote:
>
>Yes, but FTP can fail for a variety of reasons. The server address is
>wrong, connection timed out, or user id/password not valid, or ANONYMOUS
>not allowed, or the FTP sub commands failed, or the fiels are not
>trasferred ..etc. I need to find out in all these cases I shoudl re try
>the FTP. I think this makes the question more clear. Thanx in advance for
>the help. Good day.

VenuGopal

I believe all of these possibilities will be in the FTP log. It will contain everything that you normally see on the screen when you run interactively, so this includes responses from the FTP server, as well as your client messages.

Maybe you can run the process without the override of STDOUT, save the session (I think this is possible), and then analyze what shows up there. You'll then need to cover all possibilities you know of in a program that checks the log after each operation.

There's no way I know of to do this within an FTP script (override for STDIN), so change my comments from 'each operation' to 'each execution of the script'. This is because the 400 does not return control to your program until after the FTP command is completely finished.

Cheers

+--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe MIDRANGE-L' in the body of your message. | Questions should be directed to the list owner/operator: david@midrange.com +---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.