Discussions
-
The request was aborted: Could not create SSL/TLS secure channel.
The first time that i enter in my page i have this error "The request was aborted: Could not create SSL/TLS secure channel." If i reload the page this don't appare and it works. This is the code : Dim _command As String _command = "https://www.dropbox.com/oauth2/authorize?client_id=" & _App_key _command +=…
-
Error reading file async
I had a problem to download a file ( an Image ) and someone recommended to me to do asynchronously. I changed my code so : Async Function _take_file(ByVal _file As String) As Task .... Dim client As HttpClient = New HttpClient() Dim _Request As HttpRequestMessage = New HttpRequestMessage(HttpMethod.Post,…
-
Download file by Api ( Files/download ) , no error no file
I try to dowload a file by a Api . I have no error and a response with "OK" but i don't see the file. Have i donwloaded it ? where ? can i set up the local directory where save it ? This is my code : ( a big doubt is in content-Type ) Dim _command As String _command = "https://content.dropboxapi.com/2/files/download" Dim…
-
Error 404 Server remote no found
I have an expired token so to get a new one. I try with this code but i have the error Error 404 Server remote no found. I use https://api.dropbox.com and https://api.dropboxapi.com with the same result. Dim _command As String _command = "https://api.dropboxapi.com/oauth2/token " _command += " -d grant_type=refresh_token "…
-
Access dropbox file - Authentication failed because the remote party has closed the transport stream
i'm new in this type of access. I wrote this code but i have the error in objet to recover the list of files in dropbox. Dim token As String token = "sl.B6........." Dim _command As String _command = "https://api.dropboxapi.com/2/files/list_folder" Dim Request As HttpWebRequest Request = HttpWebRequest.Create(_command)…
-
Integrate Dropbox in my web application ( asp.net )
Hello, i'd like integrate my web application with dropbox. I use visual studio 2015 and asp.net . I'd like understand if i must install something or i can call API. If it is possible I'd like also see some examples. Thank you. Luca