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 &
".li
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 h
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 p
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 & "/" &
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 & "/" &