Getting URL to Work in specialFolderDocuments

Andre Garzia andre at andregarzia.com
Mon Oct 5 06:41:31 EDT 2020


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 &
".livecode") into ("binfile:" & tLocalDocumentsStories & sStoryTitle & "/"
& sStoryTitle & ".livecode")

Also, there is a strange comment before the word "into" when you're setting
tHttpsServerRoot.

Best
A

On Fri, 2 Oct 2020 at 19:01, Sannyasin Brahmanathaswami via use-livecode <
use-livecode at lists.runrev.com> wrote:

> 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 & "/" & sStoryTitle &
> ".livecode") into tLocalDocumentsStories & sStoryTitle & "/" & sStoryTitle
> & ".livecode"
> end dataServerStack 
>
> it goes badly to documents folder,
>
> ?
>
> BR
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
https://www.andregarzia.com <http://www.andregarzia.com>
Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia



More information about the use-livecode mailing list