Env: Indesign CS 5.5 and Indesign CS 6; Mac OS 10.8.4
I have a strange issue with reading the response from the server that just started after a client upgraded from a previous OS to Mac OS 10.8.4. However, this particular script has worked on other 10.8.4 machines so I believe it is another issue.
Here is the code in question:
var rtnData = "";
conn = new Socket; if (File.fs == "Windows") var isMac=0; else var isMac=1;
var myRequest = "GET "+vSubDir+"/get_Pathnames.asp?ismac="+isMac+" HTTP/1.0\n\n"; if (debug) $.writeln(myRequest); if (conn.open (vHost)) { conn.write (myRequest); // send a HTTP request rtnData = conn.read(999999); // and read the server’s reply conn.close();}
vHost=I.P address of server
vSubDir=subdirectory to the file
So some of the tests I ran already:
conn.open(vHost) returns true.
When I go to vHost+vSubDir+"/get_Pathnames.asp?ismac="+isMac+" directly in the browser I receive the response I expect.
Essentially Indesign is connecting to the server but not reading the response that I know exists. Has anyone else experienced this issue or something similiar? I can't recreate it anywhere but the client's machine.