Dropbox help 2

Klaus major-k klaus at major-k.de
Sat Jan 20 15:22:10 EST 2018


HA! Found it! :-)

I had to add a SLASH at the beginning og the PATH parameter:
...
dropboxUpload pAccessToken, "/dropboxtestlc1.rev", "overwrite", FALSE, FALSE, pData
...

> Am 20.01.2018 um 21:11 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
> 
> Hi Jaques,
> 
>> Am 20.01.2018 um 20:58 schrieb J. Landman Gay via use-livecode <use-livecode at lists.runrev.com>:
>> 
>> On 1/20/18 12:42 PM, Klaus major-k via use-livecode wrote:
>>> Hi Friends,
>>> what is wrong with this script?
>>> Anything to INTI before using "dropboxupload"?
>>> Or anything else I forgot?
>>> LC 9 dp 11, macOS 10.13.2.
>>> ...
>>> put url("binfile:/Volumes/HD500/Dokumente2/test1.livecode") into pData
>>> ## a small stack of 27 KB
>>> put "My personal Access token as generated from Dropbox here" into pAccessToken
>>> dropboxUpload pAccessToken, "dropboxtestlc1.rev", "overwrite", FALSE, FALSE, pData
>>> put it into fld 1
>>> ## I waited for hours, but fld 1 remains empty? No error, nada...
>>> ...
>> 
>> Try checking the result too.
> 
> ah, yes, sure! 8-)
> 
> I get -> tsneterr: HTTP response code 400 returned from server
> 
> According to the Dropbox API docs this means -> Bad input parameter.
> (if the LC dropbox library uses the HTTP protocol!)
> 
> So what parameter in my script may be wrong, if this is the actual problem?
> 
> Thank you!
> 
>> -- 
>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>> HyperActive Software           |     http://www.hyperactivesw.com
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
> 
> 
> _______________________________________________
> 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

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list