-
Listing files in a folder, and make download links for all files?
I have a private Dropbox. I have a PHP-driven webpage where i want to list clickable links to some files in a specific folder in my dropbox. It's simple to list the files on my web page, I just use "files/list_folder/" to get an array of the files in the wanted folder. But how can I get URLs to download the files, so I can…
-
Archive Folders older than 1 week
Is it possible to archive folders and content older than say 1 week ? Using python. I have a working folder /Dropbox/Work/Images and I want to archive stuff that is older than a week from this specific folder /Images/ ? And doing this automatically ? Thanks !
-
Would like to know, if we can script transfering files of user before deleting his access?
Hello, I would like to know, if it's possible to use any kind of scripting like Powershell or Rest API, to transfer files and folders of a user to a (backup folder) before deleting his access? We need this to automate deprovisionning of resources assigned to employees in our company. Thank you in advance,
-
Property Groups always null Java SDK
I have created a template and a list of property group objects but when I get the meta data for the file in a search after I've uploaded it says null for property group. The property groups should have been included when the file is uploaded. I use the Java SDK and I have tried a few different ways: FileMetadata metadata =…
-
select files to saver
Hi, I'm asking myself where and how to select files to saver. I want to use it as uploader and there should be an upload button.
-
Error 429 too many requests when uploading two files simultaneously
Suddenly today, seeing error 429 too many requests when our app attempts to upload two files simultaneously. This is happening with multiple accounts on an app that has not changed where we used to be able to upload several files simultaneously.
-
Upload API - skip upload, when file with the same content already uploaded
Dropbox windows app is smart and when currently uploading file already exists somewhere in dropbox (file with the same content hash I guess), it doesn't fully upload it again. It gets marked as uploaded almost immediately. Is it possible to achieve such optimization via the Dropbox Upload API? I use UploadSessionStartAsync…
-
Dropbox UploadSession Start/Append/Finish with Fetch - TypeError:Failed to fetch
Hi guys, I'm using Fetch with Dropbox for file uploads on my website and it works fine for uploads <150 mb (https://content.dropboxapi.com/2/files/upload) However, when I attempt upload >150 mb files using UploadSessionStart/Append/Finish, it throws a 'TypeError : Failed to fetch' in the console. On the Network tab, it…
-
Upload content to shared file
We currently use Dropbox's Python SDK to overwrite existing file contents with the method .files_upload(). With give it the file id as a parameter along with the file content and it works: client.files_upload( file_contents, file_id, mode=WriteMode.overwrite ) The problem is that, if the file is a shared one, it won't…
-
files we get using the api in our websites?
Hi all We need clients store files, so dev team can get the url of those images and consume them in our event sites we make a bunch of requests to get that resource (for medium or large events) These are our questions: 1.- can we the files with certain prefix using the api? 2.- can we use the url of those files we get…
-
How can I limit the data usage for shared folders?
I'm searching for a way to set up a specific folder size limit for shared folders. My goal is to use the API to automatically create and share folders with a large number of visitors on my website. Each user should get access to one unique folder and be able to upload 5MB maximum. If I cannot limit the size of these shared…
-
dbx.sharing_list_shared_links only returns empty set
Hi, I'm unable to use the dropbox api to find shared links. The sharing_list_shared_links method only returns an empty set despite having documents I share within the scope I've specified. When I paste a sharing link into the browser it works, but not using the python sdk. I've also tried using the following methods to…
-
Shared link is stoped work
Hi! I get shared link (shared link includes about 2500 videos) when i download about 250 videos (I used dropbox-api to get downloadable link) the link is stopped work and after sometime the link is activated again and circle is repeated. So this problem depends on the link or request exceeded our bandwidth or download…
-
Upload file to Dropbox with 12002 response
Hi all, i am using upload file API to load my file to my dropbox folder. the file size is about 1.6M each time. I randomly received the response between 200 (Successful) and 12002 (error). When i got 12002, sometime, i still can see my file was loaded successfully. May i know anyone got similar experience ? how we should…
-
pre-signed URL
I would like to know if dropbox API provides a functionality like https://docs.aws.amazon.com/AmazonS3/latest/dev/PresignedUrlUploadObject.html My goal is to allow the browser to upload files directly to dropbox, but without providing dropbox credentials to the browser. I know on AWS it's possible creating a pre-signed url…
-
Safari embed
I'm embedding a link to a dropbox folder using the code below. It works perfectly well in Firefox, but in Safari it comes up with an error: There's no further javascript errors. Any ideas? (The same error shows up using a simple <a> link as well. Running Safari 13 on a Mac... dbx.sharingCreateSharedLink({…
-
Embedder Cookie issue Mobile
Hello, the embedder shows a cookie issue when visiting the website on a mobile phone. https://bit.ly/35kIBdV
-
NetworkError when attempting to fetch resource when trying to share file using javascript sdk
Hi, I am very new to the Dropbox SDK, I am trying to programmatically create a link for sharing a file and getting the above error: NetworkError when attempting to fetch resource when trying to share file using javascript sdk I am using the following code: var dbx = new Dropbox.Dropbox({ accessToken: ACCESS_TOKEN });…
-
Dropbox v2 api. Javascript app installed in Windows Server behind proxy
Hi all, I have this app which was built in Javascript (Meteor). Basically, the user saves some Word documents in Dropbox, using the DB web interfase. Then, users use the app to pass some data to build documents. The app needs to: 1) connect to DropBox to get the list of Word files in a folder 2) read the document (from…
-
Empty files on upload
I have seen that this issue has been presented a few times before however, those solutions haven't helped in completed this last task for my app. I am using React Native with Expo. I am using Image Picker to select an image from iOS, and getting the uri suck…
-
How to access the missing_scope Error Messages that gets returned
There are 2 issues I would like to get some clarity on. Environment: Xcode 12 / IOS 14.4 / SwiftyDropbox I want to download a file from a shared scoped dropbox Folder. Previously I did not enable the files.content.read scope and thus I am getting the below error. Printing description of error: ▿ [request-id…
-
Increased latency after upgrade to .Net SDK 6.*
I have an app that uses long-lived access tokens to upload files in the background. In order to migrate to using refresh tokens, I upgraded from .Net SDK 4.9.* to .Net SDK 6.*. The first call our app makes is to Files.GetMetadataAsync to determine if the file exists. I noticed that if the call results in an AuthException…
-
UWP Webview and Token Authorization
Since Dropbox has decided to nix support for Edge 18, which has made the UWP Webview control useless for authorization to get a token, is there a workable solution for UWP? I have not found a way for a UWP app to launch the external browser, perform the OAuth2 flow, and then listen for the redirect URL in response to…
-
Java SDK - No refresh token?
Hey, i try to get the refresh token with the Java SDK (Android App). I start authentication with this: Auth.startOAuth2Authentication(getContext(), "abc"); And then in onResume: @Override public void onResume() { super.onResume(); if (_isCloudAuthFlow) { _isCloudAuthFlow = false; String token = Auth.getOAuth2Token();…
-
Dropbox API rate limits
Hi, I am hitting dropbox API rate limit and I can see 429 status code, I know that dropbox rate limit is per user basis. I just wanted to know the number, How many API calls are allowed per user per day. Thanks, Murali
-
How to list links for editing
I'm using dropbox business account and API v2.0. I have some files that are shared by links for viewing and some for editing. I want to know what files are shared for editing, but list_shared_link only returns links for viewing, not for editing. I look at the file in the UI, and see that "Anyone with this link can edit".…
-
Refreshing short lived access token after expiry
I login into my personal account, create an app in the app console and generate an short-lived access token. After this token has expired, can I use it to generate a new access token programmatically without the need for login in again?. If yes, is it the same for team(enterprise) account as well
-
How to Data Transfer Between Accounts in Bulk
I'm trying to transfer large amounts of data (files/folders) between accounts before an account is deleted. So say user A is to be deleted soon, I want to move user A's files to a format where user B can access them. I'm looking at two approaches, but have questions in both? * using copy_reference/get and…
-
Retrieve a list of files
I should like to create an HTML webpage where I can wrap a specific list of files into a folders (to show for example in a tablular view) The workflow it seems very easy because: * I can go in Dropbox API Explorer - list_folder * after I get a token (OK after I have to manage the cursor. .. but I suppose this is not the…
-
Need a little help getting started - want to write a simple text file
Hi, Just found this out of necessity 😉 I need to write a small text file (predefined name, predefined content, no need to append) using either a rest client or http request. Could someone point me in the direction of information on how to do this without reading the whole API reference? 😉 Thanks!