Skip to main content
patrickh45097244
Participant
December 14, 2023
Question

InDesign Server can't read files of mounted WebDAV Drive

  • December 14, 2023
  • 1 reply
  • 203 views

Hi,

I've setup the InDesign Server on Windows Server 2022 and created multiple instances via MMC.

We have mounted a shared folder via WebDAV as drive "Z".

In the JSX Script, we're trying to open the files from the drive Z.

When I use following format:

var inputFile = new File("z:\content\dam\demo\sample.indd");

I receive following error message:

Error number: 48
Cannot find the folder "Z:\contentdamdemosample.indd".

 

When I switch to double backslash:

var inputFile = new File("Z:\\content\\dam\\demo\\sample.indd");

I receive following error message:

Error number: 48
Cannot find the folder "Z:\content\dam\demo\sample.indd".

 

The script is next to the INDD file and the sampleclient can read it.

sampleclient -host localhost:8080 Z:\content\dam\demo\pdfexport.jsx

Is this related to permissions on Windows Server?

 

Thanks
Patrick

This topic has been closed for replies.

1 reply

GNDGN
Inspiring
December 14, 2023

Try

var inputFile = new File("/Z/content/dam/demo/sample.indd");
____________________Robotic Process Automation in Desktop Publishing (Book): https://doi.org/10.1007/978-3-658-39375-5