Search found 62 matches

by gmccarthy
Wed Mar 16, 2016 2:34 am
Forum: Internet
Topic: Dropbox Help
Replies: 30
Views: 10936

Re: Dropbox Help

You need to use:
put fGetDropboxAPI2(tHeader,tPost,tURL)
You need to put hold the various inputs to the function in the variables: tHeader,tPost,tURL
You can put the file name selected into a variable then use that variable to replace the header text in another variable.
by gmccarthy
Tue Mar 15, 2016 9:40 pm
Forum: Internet
Topic: Dropbox Help
Replies: 30
Views: 10936

Re: Dropbox Help

Replace "MyFilename" with the file name.
You can cut the file path as the last "/" in various ways.
eg. set the itemdelimiter to "/" then get item -1 of the file path.
by gmccarthy
Tue Mar 15, 2016 1:46 pm
Forum: Internet
Topic: Dropbox Help
Replies: 30
Views: 10936

Re: Dropbox Help

eg.Header to include: Lets say the file name that you clicked on was testfile1.txt in the dropbox app folder. Authorization: Bearer <<AccessToken>> Content-Type: Dropbox-API-Arg: {"path":"/testfile1.txt"} You might put into a variable the following and just replace MyFilename with the clicked text. ...
by gmccarthy
Tue Mar 15, 2016 12:40 pm
Forum: Internet
Topic: Dropbox Help
Replies: 30
Views: 10936

Re: Dropbox Help

Set the field as a list field: check Autohilite and listbehaviour in the property inspector.
The mousedown handler needs to get the hilitedtext when clicked.
You need to use Files-download from the dropbox library to get the text of the file from dropbox.
by gmccarthy
Tue Mar 15, 2016 6:52 am
Forum: Internet
Topic: Dropbox Help
Replies: 30
Views: 10936

Re: Dropbox Help

Are you referring to files on your hard drive or files in a dropbox?
by gmccarthy
Mon Mar 07, 2016 2:11 am
Forum: Internet
Topic: Http bad request
Replies: 4
Views: 2623

Re: Http bad request

Thanks for that. The post is to the dropbox api. The post contains json data. Setting headers is involved. All seems properly formed. It works on the majority of user computers. The post is identical on each user computer. I know that the user can ping the website. The first part of the log indicate...
by gmccarthy
Sun Mar 06, 2016 9:25 pm
Forum: Internet
Topic: Http bad request
Replies: 4
Views: 2623

Re: Http bad request

Doesn't the http log already record that in the set filed for the log?
There are no clues as to the cause of the 400 error in the log.
by gmccarthy
Sat Mar 05, 2016 10:05 pm
Forum: Internet
Topic: Http bad request
Replies: 4
Views: 2623

Http bad request

What might be happening on one persons computer when a POST to a website results in a bad request while the same POST to a website results in a successful POST on most peoples computers? The log returned HTTP/1.1 400 Bad request on one user's computer while it works on other computers: HTTP/1.1 200 ...
by gmccarthy
Sat Mar 05, 2016 9:40 pm
Forum: Internet
Topic: Dropbox Help
Replies: 30
Views: 10936

Re: Dropbox Help

My library in this thread uses the latest dropbox library: version 2. If you set up an app in dropbox and generate the code on the dropbox site as per the instructions in my stack and paste it in somewhere in your stack, you no longer need enter passwords, login etc. There is a similar technique for...
by gmccarthy
Sat Mar 05, 2016 12:02 am
Forum: Internet
Topic: Dropbox Help
Replies: 30
Views: 10936

Re: Dropbox Help

In my stack click on the top left check box to show the steps to get dropbox setup for use.
Then, in the top right there are arrow buttons to go to the next cards that demonstrate copying files to and from dropbox.
by gmccarthy
Sun Feb 28, 2016 1:15 am
Forum: Bug Triage
Topic: libUrl bug with proxy use?
Replies: 1
Views: 1252

libUrl bug with proxy use?

Re: libUrl bug with proxy use? I have a standalone in LC7.1.2 that is not able to connect to the internet on another user's computer. The user has a registry entry: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\DefaultConnectionSettings that contained a re...
by gmccarthy
Fri Feb 26, 2016 9:04 am
Forum: Internet
Topic: Proxy problem with standalone on a users computer
Replies: 1
Views: 1242

Re: Proxy problem with standalone on a users computer

I discovered that the HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\DefaultConnectionSettings entry contained a reference to a pac file but the HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\AutoConfigURL was empt...
by gmccarthy
Thu Feb 25, 2016 3:19 pm
Forum: Internet
Topic: Proxy problem with standalone on a users computer
Replies: 1
Views: 1242

Proxy problem with standalone on a users computer

I have a standalone (LC 7.1.1) that another person uses on their windows computer. It works properly on some computers but not all. The program attempts to POST to a dropbox api but is unable to on some computers. Testing showed that the program can ping the dropbox api website: api.v.dropbox.com Th...
by gmccarthy
Thu Feb 25, 2016 2:53 pm
Forum: Internet
Topic: Dropbox Help
Replies: 30
Views: 10936

Re: Dropbox Help

by gmccarthy
Mon Oct 19, 2015 1:18 pm
Forum: Announcements
Topic: Dropbox Livecode Library
Replies: 76
Views: 37092

Re: Dropbox Livecode Library

OK, I'll give that a try.
Thanks.

Go to advanced search