Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3896 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi

 

I have a problem, saving some text from a text field into a file on a FMS13 server, using a generated plugin from ScriptMaster Pro.

So the function I am using is the included in ScriptMaster sample file, except that I have added a parameter for setting desired encoding.

It works perfectly on desktop, but fails when running as a server side script.

 

The error returned on the server (SM error) is:

failedjava.io.FileNotFoundException: Library/FileMaker Server/Data/Documents/TicketMasterTrans_05042014230946.csv (No such file or directory)

 

I have also tried with using Temporary path, since that is actually more desired, but i am not sure, that it is availble on server, som documents path is fine.

I did strip out the path, so it is converted to an OS path, and it is working on desktop.

I have checked that the permissions on the document folder on the server is set as normal. Even tried to set write permission to everyone as well.

 

I did look at this forum and also at the thread about exporting a container field, but could not find any clues there.

 

I have a feeling that I am missing something obvious here...

 

Does anyone have an idea of what is going wrong ?

 

Posted

From the error message it looks like you may be missing the leading slash in the path. It should be "/Library/FileMaker Server/...", not "Library/FileMaker Server/..."

Posted

Sorry…. it seems that I actually did something wrong and missed the leading /

Though, it is funny, that this error only occur on server side scripts.

Anyway, it works now.

Thanks for making me take a look again..

This topic is 3896 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.