I've built an auto-update feature into an add-in. The new version of the add-in is stored on a sharepoint. I am able to open jmp tables from the sharepoint just fine, but am unable to open the addin file.
Works:
Open("https://sharepoint.xxx/jmp_table.jmp")
Does not work:
Open("https://sharepoint.xxx/addin_try.addin")
Open("https://sharepoint.xxx/addin_try.zip")
I thought maybe I could copy the add-in from the sharepoint to a local directory and then open the add-in, but that didn't work either:
Copy File("https://sharepoint.xxx/addin_try.addin", "C:\temp\addin_try.addin")
Copy File("https://sharepoint.xxx/addin_try.zip", "C:\temp\addin_try.zip")
The Copy File command gives a "Path is invalid" error, and the invalid path identified is a concatentation of the default directory and the URL (why?), with the URL mangled a bit:
C:\my_default_directory\C--https---sharepoint
Suggestions?