Comments
-
We can't offer help on the Databricks/Pyspark side of this, as that's made by a third party, but to programmatically download file data from a password-protected Dropbox shared link, we recommend using the official Dropbox API v2 Python SDK. Specifically, you can use the sharing_get_shared_link_file method to download file…
-
Thanks for the additional information! That's helpful. Performing these serially is good, but unfortunately due to some complexities with the implementation of nested shares like this on the backend, it is still possible to run in to some asynchronous/delayed contention when doing so. That being the case, can you try…
-
@"lekha" Thanks for letting me know. It looks like the documentation link format changed. I edited my post with the new correct ones.
-
Thanks for the report! We can help look into this, but it looks like we could use some more information. Could you also: * share some sample API requests for the earlier API calls you're making (i.e., steps 1 and 2 in your outline), like you did for /check_share_job_status * let me know if you're sending the requests in…
-
Are you referring to how you read off just a piece, i.e., a "chunk", of the file to upload at a time? That would depend on your platform/programming language and isn't really about the Dropbox API itself, so I'm afraid I can't offer much guidance on that. I recommend referring to the documentation for platform/programming…
-
@"Makhlouf" In case it helps with your the networking troubleshooting, note that the redirects to get to the file data when using 'raw=1' or 'dl=1' also go through other Dropbox domains that look like '*.dl.dropboxusercontent.com'.
-
Dropbox itself doesn't have listings of developers to hire. There may be third party marketplaces online where you can search for developers to hire, but we can't recommend any in particular.
-
Yes, the upload session endpoints allow you to upload a large file by sending it in multiple pieces. (Each piece can be up to 150 MB in size, but something smaller, such as 8 MB, is recommended.) You should send the pieces in order, and you can optionally send them to any of the three endpoints. That is, you can include…
-
Thanks, in that case the empty file isn't surprising since the call is failing, with the 'CURL_COULDNT_RESOLVE_HOST' error. I did just try it myself, and the Dropbox domain is resolving properly for me. That error indicates a DNS issue, so you'll need to troubleshoot your DNS configuration/server. I can't offer support for…
-
Yes, as you found, since the /2/files/upload endpoint only officially supports uploading files up to 150 MB in size, you should use "upload sessions" to upload larger files. You can find the documentation for the upload session endpoints here: * /2/files/upload_session/start * /2/files/upload_session/append_v2 *…
-
To get a direct link to a file via the API you can call the /2/files/get_temporary_link endpoint. In the official Dropbox API v2 Python SDK, that's available as files_get_temporary_link. Note that those links are only valid for four hours. If you need longer-lived links, you can instead…
-
There are a few things that I notice that you may want to address: * You should get rid of the "dl=0" URL, since that's not expected to work. (It is supposed to return an HTML page, which isn't what you want.) * You're attempting to use both 'URLDownloadToFile' and 'curl', but you only need one. You should probably just…
-
I'm not sure I follow. Can you share your code and whatever error/output you're getting when you try to download from a shared link with dl=1? Thanks in advance!
-
You can download a file from a shared link directly without using an access token, like you tried initially. Note that by default however, Dropbox shared links point to an HTML preview page, not the file data itself. You can modify the link to point to the file data though, as described here:…
-
This limit applies to upload calls made by third party apps, only when connecting to Business accounts on certain Business plans. You can find more information on this here: https://www.dropbox.com/developers/reference/data-transport-limit
-
Yes, you can certainly use ParseTokenFragment with the native system browser flow. That's shown in the example here: https://dropbox.github.io/dropbox-sdk-dotnet/html/T_Dropbox_Api_DropboxOAuth2Helper.htm
-
It looks like this is being caused by an SSL configuration issue on your https://app.astodi.com server, specifically, an incomplete chain (under "Chain issues"): https://www.ssllabs.com/ssltest/analyze.html?d=app.astodi.com&hideResults=on You should be able to fix this by including the intermediate certificates on your…
-
[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-dotnet/issues/108 ] I see you also posted this on our GitHub repo so I'll close this forum thread in favor of that issue and follow up with you there shortly.
-
You should be able to use the API to connect to different accounts by using different access tokens. I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: * the name and version number of the platform and SDK/library you are using, if any * the…
-
Using a web view for the app authorization flow is not officially supported, so I can't recommend doing so. In any case, if you call ParseTokenFragment and it returns successfully, the return value will be a OAuth2Response. You can get the access token from OAuth2Response.AccessToken.
-
Thanks for the report! It looks like this may already be fixed in the latest version of the Java SDK, currently v3.1.3. Can you update to that and let me know if you're still seeing the issue with that? Thanks in advance!
-
Sure, there's more information and sample code in the documentation for DropboxOAuth2Helper in the .NET SDK.
-
@"FrankK1" Thanks for the feedback! No, unfortunately this has not been added to the API.
-
@"VictorNemiro" As Здравко mentioned, this isn't available. It's not possible to get a preview URL for a specific previous revision of a file, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
@"SahithKumar" If you just need a temporary link to the file data, you should use /2/files/get_temporary_link. That will give you a direct link to the file data that lasts for four hours. If you need a longer-lived link though, you should use /2/sharing/create_shared_link_with_settings. As you found, by default, that will…
-
Thanks for the report! Based on your code though, I see that you're running this in a web view, which is not officially supported, per the /oauth2/authorize documentation. (Web views are more prone to issues like this, and are being disallowed by other providers anyway, such as Google, who we support as an sign-in provider…
-
No, unfortunately Dropbox webhooks aren't sent for sharing events like this, e.g., when a user is given access to a shared file, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Dropbox webhooks currently only get sent when there is a change the actual contents of…
-
No, unfortunately the Dropbox API doesn't offer the ability to list/download specific files from inside a zip archive stored on Dropbox, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
The files_download method returns a tuple of (FileMetadata, requests.Response), so you can get the file data from requests.Response using the methods provided by that class. For instance, you can stream content from it piece by piece, without downloading the whole thing, using requests.Response.iter_content…
-
If you only want to access the files in one particular account, you can register a "Dropbox API" app with the "Full Dropbox" permission and then use the /2/files/download endpoint to download files from a connected account without any extra configuration. (You can also connect the app to multiple different accounts, but…