Eden Morris Posted November 24, 2010 Posted November 24, 2010 I want to use the Get URL as Container ( url ) command to save an image into a container field but I find that after several loops the command might get stuck and never time out, this will cause filemaker to lockup and I have to force quit the program, this corrupted my database file also. I have a feeling that if a timeout feature were implemented that would fix the problem can code be added to this function to allow for that?
Matthew F Posted November 24, 2010 Posted November 24, 2010 Unless you set 'Allow User Abort' to 'Off users can abort a script using the 'Command+.' key combination. I think the 'ESC' key is the equivalent on a PC. Does this not stop the script for you?
Eden Morris Posted November 24, 2010 Author Posted November 24, 2010 nope, it causes filemaker to lock up indefinitely and I have to force close
Matthew F Posted November 24, 2010 Posted November 24, 2010 If you know the script step which causes the problem then you might be able to add an error check on the step before. Perhaps the script should halt, for example, if the URL or network is not available.
Eden Morris Posted November 24, 2010 Author Posted November 24, 2010 what im doing with it is im pulling the html of a page, extracting the url of an image file and then using scriptmaster to download the image file. So I know that the file is available because the html that contained its path was downloaded moments before. What I think is happening is its starting the download and the download fails part way through and causes the plugin to hang.
Recommended Posts
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