David Wikström Posted June 30, 2010 Posted June 30, 2010 Any experiences/ideas on how to best handle timeout issues with FTPeek? How to avoid timeouts to the extent possible, and how to handle the user experience in these cases. Is there a specific error code that FTPeek returns on timeout?
bcooney Posted June 30, 2010 Posted June 30, 2010 David, I abandoned FTPeek bcs it didn't handle downloads of large files (timed out). We switched to a NAS drive. 360works provided a "header" file to me that disabled the progress bars (and that helped a bit, but left the user thinking that the system froze). Although I do understand that timeouts are setup specific, they mentioned that they had a bug in the progress bar code and planned to fix it, but didn't mention a fix in their latest update. -Barbara
David Wikström Posted June 30, 2010 Author Posted June 30, 2010 Hi Barbara, Thanks for sharing this experience. My case is a little bit different I believe; each file downloaded is very large (probably max. 5 MB, but mostly a lot smaller than that), but I can have many files (perhaps averaging 50, but I need it to work with several hundred). A NAS is unfortunately not an option in my deployment scenario. I'm already disabling the progress indicator. I think avoiding timeouts is one thing, but my question also concerns what to do in the case that they DO occur. I've seen timeouts with "real" ftp clients too. How do I best capture a timeout error when downloading a file, and how do I distinguish that from another type of error? I haven't found a list of FTPeek error codes, but assume there is one?
bcooney Posted June 30, 2010 Posted June 30, 2010 You'll get "ERROR" and FTPeek_LastError will give you specifics. We had some concerns about NAS, bcs we certainly didn't want users directly accessing the library of PDFs that we are managing. So we mount, Insert File to container and auto-open, and unmount the NAS drive using Send Event.
Jesse Barnum Posted August 24, 2010 Posted August 24, 2010 Hi David - we don't have error codes, but as Barbara points out, we will return a detailed error message when you call FTPeekLastError. You can parse the error message to detect a timeout.
Recommended Posts
This topic is 5203 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now