6 Replies Latest reply on Sep 30, 2011 9:09 AM by lologhi

    I just want to open a template file on my server...

    lologhi

      Hello everybody,

       

      It's my first question here, and I'm sorry if ipso facto it seems kind of dumb...

       

      So with phpsoap, I can connect to my server with inDesign Server. Some little snippets are working.

       

      But now I just want to open a file on the Desktop of the MS Server 2008 R2 :

       

      var myFileLocation = "\\Users\\Administrateur\\Downloads\\TestinDesign.indd";
      var myFile = new File(myFileLocation);
      var myDocument = app.open(myFile);
      

       

      And I always have this SOAP Envelope error message in return :

       

      <SOAP-ENV:Body>
           <IDSP:RunScriptResponse>
                <errorNumber>1</errorNumber>
                <errorString>open</errorString>
                <scriptResult></scriptResult>
           </IDSP:RunScriptResponse>
      </SOAP-ENV:Body>
      
      

       

      Can you help me open my file ?

      Thanks !!

       

      Laurent