Search found 4 matches

by porzucki
Sat Aug 05, 2017 11:09 pm
Forum: Talking LiveCode
Topic: mergDropboxDownload example
Replies: 23
Views: 34949

Re: mergDropboxDownload example

Simon,
Is anyone maintaining the dropbox library? I found a bug in the code for _function _list_folders_POST
The routine kicked out an error because a string was sent instead of an integer. See Below in my comments:

private function __list_folders_POST pLimit,pActions
if pLimit is empty then put ...
by porzucki
Sat Aug 05, 2017 9:54 pm
Forum: Talking LiveCode
Topic: mergDropboxDownload example
Replies: 23
Views: 34949

Re: mergDropboxDownload example

Simon,
Thanks for the guidance. I had some problems with the use of:
put it into URL ("file:myDownloadedFile.txt")
Your suggestions produce a file which appears like the file you're uploading or downloading (in size and name) to dropbox, but are actually corrupt in some manner.
The native ...
by porzucki
Sun Jul 30, 2017 10:25 pm
Forum: Talking LiveCode
Topic: mergDropboxDownload example
Replies: 23
Views: 34949

Re: mergDropboxDownload example

Simon,
Thanks for the quick reply. I tried your code with a text file and it worked, but my use is more general.
How do I download a binary file? Where does the dropbox library routine puts the binary data?
The documentation is not clear:
for uploads what parameter gets the local file system path ...
by porzucki
Sun Jul 30, 2017 12:43 am
Forum: Talking LiveCode
Topic: mergDropboxDownload example
Replies: 23
Views: 34949

Re: mergDropboxDownload example

I'm new to LC and trying to use dropboxapi_v2. I'm trying to use the Upload and Download functions. Here is a sample of my code
on mouseUp
put "" into Field "Field"
local tData, tFileName
getUploadPath tData, tFileName #get my file's path on my Mac

put "my token goes here" into tAccessToken
put ...