Comments
-
@"Moesslacher", This "new" feature is implemented long time ago actually. It's just not document properly and not officially supported. 🤷 That's it.
-
You can take a look on the example here.
-
@"Ghost Mjrm", There is no way to get non expiring access token. As discussed before, you need to use refresh token instead. Refresh token doesn't expire automatic, so you can use it more than 24 hours. 😉 Use OAuth as Greg suggested there. Don't forget to set offline access. Good luck.
-
@"Peter G" wrote:... Dropbox is set to autostart via KDE's start and shutdown dialogue. ... @"Peter G", Dropbox setups itself for autostart. You don't need to do it in any other way. Even more - it's known bug that Dropbox may get confused if you try it, so you must not do it! Unfortunately, Dropbox support for Linux is…
-
Hm... 🤔 @"RogerOakes" As seems you have customized your distribution - something in general not advisable if you're not aware what you're going to do. Anyway... Are you sure you have not a mistake on type/copy your command output? The output doesn't seem to come from latest supported package version (2020.03.04). Just we…
-
Hi @"Schwankenson", What about using users_get_current_account method? 🧐😉 Hope this helps.
-
Hi @"Nicolas Lavertu", The file always gets uploaded but if it's the same (i.e. same name, path, size, and content), it's ignored. That's it - nothing to change. In such case metadata remain the same. Hope this clarifies matter.
-
@"bebuccio" wrote:I have written a webapp to make the whole procedure to retreive a REFRESH_TOKEN so I can ask for a TOKEN when I want interacxt with DropBox. When I invoke this my page, it send a GET to https://api.dropbox.com/oauth2/authorize with this params:…
-
Hi @"Adi4", The behaviour, you described, is something normal (strange would be different one). When you copy something (either file or folder) the destination should not exist! It will be created on copying. When destination exists (folder in particular case), the error you're receiving is something normal. If you want to…
-
@"Optiknerd" wrote:... I am trying to use the Dropbox API together with the Vimeo API to upload files from Dropbox to Vimeo.] I have successfully created Dropbox Temporary Upload Links using the Dropbox API ... Hi @"Optiknerd", You need upload link from Dropbox API (/2/files/get_temporary_upload_link) when you need to…
-
@"ABDUL Salam" wrote:... Interestingly, the same URL functions correctly when hardcoded in /save_url request parameter. Do it in the same way when the request fails, not like when succeeds!
-
The same like in Greg's experiment, everything works as expected. @"ABDUL Salam" wrote:... It was working fine early on locally bu as soon as I have deployed my script and check the logs after execution then this endpoint returns me a async_job_id which I use to check job status from…
-
Hm..🤔 I just checked it and everything seems valid. In first case I received: { ".tag": "complete", "name": "#1135_GOLF-P-WE-AU-BLACK.eps", "path_lower": "/2023/november/#1135/golf-p-we-au-black/#1135_golf-p-we-au-black.eps", "path_display": "/2023/November/#1135/GOLF-P-WE-AU-BLACK/#1135_GOLF-P-WE-AU-BLACK.eps", "id":…
-
@"ABDUL Salam", to be honest, I don't know why did you received exactly that error, but your path is definitely invalid (in the second case). In Dropbox whatever path you use must NOT end in slash and when we're talking for file path, it should include filename too - something missing in your case. Fix it. Good luck.
-
More details about that error would be useful. It's not clear what doesn't work for you actually. The refresh token will just 'extend' your authentication 'life' (if could be said so), nothing more.
-
@"HADES", You don't need listing at all. Just proper path formatting would be enough. I proposed you list your folder just to see what's there - i.e. for debug - nothing more.
-
Hi @"ABDUL Salam", You don't need to tag any slash! The backslashes you added make your link invalid (and not only - the next error would be that your path in invalid too). Trace where those data are coming from, in your code, and fix whatever needed. By the way it's not a good practice to pass access token directly.…
-
Hi @"Adi4", Keep in mind that download method, you're using, returns DbxDownloader object representing the entire response, not directly the content! This object contains the file metadata as well as stream usable for fetch the actual file's content. As seems, you handle object as data - something that stringify current…
-
Can you post the terminal output when executing the commands, I posted above?
-
Just performing OAuth flow and using "offline" as type will give you refresh token that doesn't expire. 😉
-
It's not a Dropbox error, so yes, better check what the error means. Also, if you're passing the Dropbox link to a parameter of URL then you may need to URL-encode the link before passing! Skipping this, if needed, for sure will lead to error. Many people make this mistake. Good luck.
-
@"Ghost Mjrm" wrote:... und tell me error uploading to dropbox:null ... Hm..🤔 Try find out where exactly the exception comes from (set middle points throughout your code). Perform intensive logging in your uploadToDropbox method in every line and split the composite lines.
-
@"Ghost Mjrm", there is no single right decision. It's matter of design decision and you can make it as you like. Something else: Don't forget that access token (the one you use in your code) is short lived! 👆
-
@"JpFortran" wrote:... (thought dropbox was a binary file) ... No, it's not. 🙂 it's script (i.e. text file). 😉
-
@"Ghost Mjrm" wrote:... but its tell me that the photo uploaded successfully but when i check the Dropbox app i cannot find any photo ... Hi @"Ghost Mjrm", Do you understand that in you code message "Photo saved and uploaded successfully" may be preceded by "Error uploading to Dropbox: "? Do you receive double confirmation…
-
@"milankj", try investigate sequentially (one by one). Are you sharing folder or document (i.e. file)? Are you sharing it or member adding? Is it shared already or you just started? What API endpoint is in use - /2/sharing/add_folder_member or not exactly (you cannot use the same endpoint for document)? Clarify to yourself…
-
I have no idea what you have tried. Most probably, it was something different. There is nothing Changed (as far as I know).
-
@"milankj", returning null means "nothing" and nothing, on its own in context of add member to folder, means that error doesn't exist. So congratulations - as seems, your calls always suceed. 😉 Go on further.
-
@"Rich" wrote: That's the latest stable release, but there's a newer beta release if you wanted to try it. * https://www.dropboxforum.com/t5/Desktop-client-builds/ct-p/101003000 No there is NOT! The daemon (your link points to) and control script (contained in the package) are different thing. Updating the daemon won't…
-
Hi @"ClicData", First af all, the method ListFolderAsync is not to list shared folders especially. This method is used to list content of a folder. It can list all entries directly residing in the pointed folder or recursively all nested content. In all cases if there is something shared (either file or folder) it will be…