mergDropboxDownload example
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: mergDropboxDownload example
Joe, if you're familiar with git, submit a pull request to my repo. If not, please submit an issue and I'll have a look. Also please post back here with the LC bug report number.
-
- VIP Livecode Opensource Backer
- Posts: 7230
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: mergDropboxDownload example
Your solution works fine, but for future reference, the issue wasn't in the Dropbox extension but rather in the use of "file:" as the URL designator. That only works with text files. If you need to work with binary files, use "binfile" :I had some problems with the use of:
put it into URL ("file:myDownloadedFile.txt")
"binfile:myDownloadedFile.txt"
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: mergDropboxDownload example
I read this post with great excitement, as I have been trying to upload files to Dropbox from an iOS app. Unfortunately this doesn't seem to be implemented in the iOS environment. Is there any way to do it?
Re: mergDropboxDownload example
Our apps use this on ios literally constantly.
Re: mergDropboxDownload example
I am using LC 9.0.1 Build 15103 - do I need to update?
Or do I need to include any library or anything in my iOS build?
Here is my relevant code:
I get an error message "can't find handler".
Or do I need to include any library or anything in my iOS build?
Here is my relevant code:
Code: Select all
put dbToken into pAccessToken
put "overwrite" into pMode
put False into pAutorename
put true into pMute
get hiliteData
put "Update:" && the seconds into line 1 of it
replace cr with "###" in it -- because Dropbox doesn't return any cr's when I download
put "/hiliteData.txt" into pPath
put it into pData
dropboxUpload pAccessToken, pPath, pMode, pAutorename, pMute, pData
Re: mergDropboxDownload example
in Standalone settings go to inclusions and add the Dropbox library.
Re: mergDropboxDownload example
Don't thank me until you have it running...
Re: mergDropboxDownload example
I do, and it works well!