Snn in the path change every time PSOS called, do you use Get() function every time?
Add: sorry you wrote "schedule", but it is same thing.
Yes - I'm doing this in a looping script to first download the file then insert it, so am calling the Get (TemporaryPath ) function each iteration in the loop.
How do you "download" ?
If use "Send Event", you would need some wait for next step.
I'm using a plugin which is downloading the file successfully - I have added in many pauses in the script so I can see what's happening at the same time on the server and I can see the file downloaded to the directory successfully. So there's no issues with the file existing - it seems to be an issue with the file path format I'm using (which works fine on a Windows client using FileMaker Pro Advanced - albeit to a different temp folder).
I think that you should be using the Insert Picture or Insert File script step for this. Also, you don't need to add "file:" to your path when you use Get(TemporaryPath) ... just $path = Get(TemporaryPath) & "image.jpeg"
1 of 1 people found this helpful
Insert File nor Picture are not server compatible script steps.
And I made same mistake, "Send Event" also not server compatible.
I tested with PSOS, "file://" & Get(TemporaryPath) & ... worked.
Don't you have permission issue? But it is not so occurrable that a user can make file but can't read it...
thanks for the info (reminder). I too tested and got this to work:
"file:" & Get(DesktopPath) & "mars.jpg"
Thanks - using:
worked on the server. There shouldn't be any permissions issue as it's running under FileMaker Server which has access to the temp folder.
Hmm, it is great that you can solved, but it is not my answer, my calculation build
since the Get() function returns text starts with / , so the result is same as what you faild.