+1

connect to dropbox using HTTPS connection

joy cooket 12 years ago updated by Alexander Blach (Developer) 12 years ago 9
HTTPS connection is more safer. I wanna have a option that I can use HTTPS connection.
because dropbox is blocked in some place if HTTP connection is used, like China...
connection error when connecting to dropbox(has linked)
Error note: NSURLDomain error -1004
Error -1004 is "Cannot Connect to Host". Please check your internet connection - the Dropbox server doesn't seem to be reachable.
Office dropbox app is available in the same network. Is it possible that HTTPS connection always is used during communication with Dropbox server?
See my answer below on when https is used.
I think dropbox connection is blocked when trying to get metadata. because it use HTTP.
Do you use REST API? I found REST API is SSL only. 
Office dropbox app use REST API. I can use dropbox app to get file list, download file normally
I use the official Dropbox iOS SDK: http://www.dropbox.com/developers/reference/sdk

It does use the REST API.
I use the official Dropbox API. It uses HTTPS for things like login and downloading files. It uses HTTP for less critical things like loading metadata and sending commands to create folders or move files. I don't intend to change that.
I use VPN to access Drobox with Textastic in Shanghai. Connection fails if VPN is not used.
Can you access the Dropbox website https://www.dropbox.com/ in Safari when you are not connected over VPN?