Re: Getting URL to Work in specialFolderDocuments

2020-10-05 Thread Andre Garzia via use-livecode
Aloha, The last "put" command is wrong. This one: > put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" It should have been: put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle &

Re: Getting URL to Work in specialFolderDocuments

2020-10-05 Thread Bernard Devlin via use-livecode
Hi I get a headache looking at concatenations like this. I don't use them unless I'm constructing a simple string. put URL (tHttpsServerRoot & sStoryTitle & "/" & sStoryTitle & ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode" It will be a cold day in

Re: Getting URL to Work in specialFolderDocuments

2020-10-02 Thread Bob Sneidar via use-livecode
You are putting a file from a url into a variable called tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode”. You should probably have a variable with the full path to the file: put tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle & ".livecode” into tFilePath Then

Re: Getting URL to Work in specialFolderDocuments

2020-10-02 Thread Sannyasin Brahmanathaswami via use-livecode
on dataServerStack local tHttpsServerRoot,tLocalDocumentsStories put "https://dev.himalayanacademy.com/media/stories/; --into tHttpsServerRoot put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into tLocalDocumentsStories put URL (tHttpsServerRoot & sStoryTitle & "/" &

Getting URL to Work in specialFolderDocuments

2020-10-02 Thread Sannyasin Brahmanathaswami via use-livecode
on dataServerStack local tHttpsServerRoot,tLocalDocumentsStories put "https://dev.himalayanacademy.com/media/stories/; --into tHttpsServerRoot put specialFolderPath("Documents") & "/SivaSivaApp/media/stories/" into tLocalDocumentsStories put URL (tHttpsServerRoot & sStoryTitle & "/" &