Hello Guillaume
Thank you for trying to help .
Yes, my path is a string (defined as ::path = "http://..............\"; )
The path as such works fine, otherwise the open command would not have worked.
But when saving the problem occurs. I've nailed the problem, but don't know how to overcome it! The problem is that Save interprets the input string I give it in the wrong way.
dt<<Save("MyTable.jmp") saves dt as MyTable.jmp in the current directory.
dt<<Save("C:\Program Files\MyTable.jmp") saves dt as MyTable.jmp in C:\Program Files.
dt<<Save("http://........\MyTable.jmp") is supposed to save dt as MyTable.jmp in the specified folder on the Sharepoint (given by the path), but instead saves dt in the current directory as a file named http---..................MyTable.jmp.
There is no error message in the log - only 'Scriptable[]' as JMP does save the file - just in the wrong place with the wrong name...
I've also tried changing directory using set current directory, thinking that then I could save the file using dt<<Save("MyTable.jmp") afterwards,
but nothing happens (no error message, no change in directory).
set current directory (::path);
BR, Marianne