Uploading substacks to DropBox
Posted: Fri Sep 30, 2016 12:10 pm
I have a script that, thanks to the wonderful library "phxDropboxLib 1.12", uploads stacks to Dropbox.
Something like this:
It works fine.
Now I would like to be able also to upload substacks.
Is there a way to get a correct pPathFrom of a substack, without making it a main stack?
Do SubStacks have a path?
The effective filename return the path to the main stack, so it is no useful.
Thanks
Trevix
Something like this:
Code: Select all
put URL ("binfile:" & pPathFrom) into pPathFrom
put base64Encode(pPathFrom) into pPathFrom
return phx_DropboxWriteFile("sandbox", pPathTo, "application/octet-stream", false, pPathFrom)
Now I would like to be able also to upload substacks.
Is there a way to get a correct pPathFrom of a substack, without making it a main stack?
Do SubStacks have a path?
The effective filename return the path to the main stack, so it is no useful.
Thanks
Trevix