May 22, 201312 yr Newbies Filemaker 12 Pro client, 12 Server Client Win7Pro, Server Win7Pro Using Scriptmaster to post to URL. Get error code below. I don't expect complete troubleshooting, but maybe a couple steps in the right direction would be greatly appreciated. Data is being sent correctly to the plugin from FM12 database script, but not parsing/posting,,, following error code: Is the FileNotFoundException simply stating that the post to URL is no longer valid? ---------------------------------------------------------- java.io.FileNotFoundException: http://**POST ADDRESS HIDDEN FOR THIS FORUM** Parameters: {key=title, value=Legal & Liability Mgt: Tactical-SWAT-Emergency Response *BY PATC, key2=start_on, value2=2013-08-21, key3=end_on, value3=2013-08-22, key4=link, value4=http://www.patc.com/training/schedule.php, key5=city, value5=Normal, key6=state, value6=IL, key7=zip, value7=61761, key8=bold, value8=NO, key9=topic1, value9=7, key10=topic2, value10=1, url=http://POST ADDRESS HIDDEN FOR THIS FORUM } ---Script--- Script: // Construct data String data = URLEncoder.encode(key, "UTF-8") + "=" + URLEncoder.encode(value, "UTF-8"); data += "&" + URLEncoder.encode(key2, "UTF-8") + "=" + URLEncoder.encode(value2, "UTF-8"); data += "&" + URLEncoder.encode(key3, "UTF-8") + "=" + URLEncoder.encode(value3, "UTF-8"); data += "&" + URLEncoder.encode(key4, "UTF-8") + "=" + URLEncoder.encode(value4, "UTF-8"); data += "&" + URLEncoder.encode(key5, "UTF-8") + "=" + URLEncoder.encode(value5, "UTF-8"); data += "&" + URLEncoder.encode(key6, "UTF-8") + "=" + URLEncoder.encode(value6, "UTF-8"); data += "&" + URLEncoder.encode(key7, "UTF-8") + "=" + URLEncoder.encode(value7, "UTF-8"); data += "&" + URLEncoder.encode(key8, "UTF-8") + "=" + URLEncoder.encode(value8, "UTF-8"); data += "&" + URLEncoder.encode(key9, "UTF-8") + "=" + URLEncoder.encode(value9, "UTF-8"); data += "&" + URLEncoder.encode(key10, "UTF-8") + "=" + URLEncoder.encode(value10, "UTF-8"); // use something like the following to send multiple key/value pairs // data += "&" + URLEncoder...
May 23, 201312 yr you need to post more of the function as the error is being thrown somewhere that we cant see how and why... do you really have 20+ parameters?
Create an account or sign in to comment