September 13, 201213 yr Ok I have a script that is working fine normally on a hosted solution - to automate the process i wanted to have fm server do this task in the wee hours of the morning but its not working... I am using ScriptMaster to perform the tasks. 1. Write out the XSL file to the Temp or Docs 2. Perform an PostXML request from 3rd party URL 3. Write XML data to Temp or Docs folder (server) 4. Import data to FMP using XSL from previous path. I have to process this in a loop and each of the files normally are several MB in size however it seems that the PostXML is timing out or the script on server is running too fast and not allowing the XML data to download and write the file.
September 15, 201213 yr I'd suggest placing the post into a try... catch construct, and catch Throwable (since the exception type is unknown). The exception, can then either be logged (preferrably appended) to a file or returned to FM and logged to an event table. I'd also suggest logging the URL, headers, and post content along with the error. Any chance the file is not readable/writeable due to file system/network permissions issues? Does a simple script that opens/closes a file on the same path work without the post when run in FMS?
Create an account or sign in to comment