Jump to content

Save to file function on server fails...


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

Recommended Posts

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 ?

 

Link to comment
Share on other sites

This topic is 3695 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.