Comments
-
@"josuegomes" wrote:... Possible solutions are: persist the current offset together with the serssion id. Or call Append with an invalid offset (eg 0), it returns the `UploadSessionOffsetError` error with the correct offset. Is it ok to rely on the UploadSessionOffsetError? Hi @"josuegomes", Yes, that's are the possible…
-
@"koradev_shane" wrote:... From what I understand of the OAuth flow, user interaction is required to authenticate (visit auth URL, tap Agree/Allow, be redirected with the `code` value in query and then use dbx SDK to getAccessTokenWithCode). Hi @"koradev_shane", Yes, you need to perform OAuth flow least once. It depend is…
-
Hi @"superheroEK", If you "want to copy: https://ceridap.eu/en/documents-on-the-covid-19-emergency/", then just copy it. 😉 The following is part of that page responsible for link embedding (as is; together with the link): <script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs"…
-
@"Здравко" wrote:...😉 Make sure that python command exists and points the correct executable (sometimes only python3 exists; create proper link if needed too). Hope this helps to some extent. @"PIXIP", Did you do it? 🤔 What actually happens when you type 'python' in terminal? (just for test) Also can be seen that you miss…
-
Hi again @"Poui", In general, for either team or personal accounts, you can share project folder between team member/users and that folder will be hidden for all other that don't participate to particular folder sharing. For team account, it might be easier a project folder to be created by the admin and give to desired…
-
@"Greg-DB" wrote:... ... request.Headers.Add("Range", "bytes=0-10"); // this requests the first 11 bytes of the file ... ... Hi @"pear0533", You don't actually need a range starting from zero. You can start with regular API call and if that breaks for some reason then go forward with range(s). Let's say you have to…
-
Hi @"Poui", Using /2/files/create_folder_v2, you're creating a regular folder, not shared one! 😉 That's why there is not a 'shared_folder_id' in metadata.sharing_info. This field is optional and exists only when real shared folder is "on focus" (no the case now). You can share a existing folder (or create new shared…
-
Hi @"dhruvin", Non downloadable files (of any kind) may only be exported. You cannot change this. Good luck.
-
Hi again @"PIXIP", You just enlightened a bug in Dropbox Java SDK. 😁 Yes, Dropbox rely on deprecated packages for a long time. Actually since Python3.3, some of the packages used here are designated as deprecated. In Python3.9 those packages are already dropped. 🤷 That's where your error comes from. Let's hope Dropbox…
-
Hi @"abhinovClairvoyant2", Did you set proper root namespace for your call? 🧐😉 Hope this gives direction.
-
Do you have Python installed at all? 🤔
-
Hi @"TitE", You can try the same solution that works here. 😉 Good luck.
-
The example on the page, you posted, uses 'curl' shell command. That's the way (one of all actually) body to be represented. You're working with 'fetch' command in javascript, not shell! Just different things! 😉 Pay attention on the proper documentation. None of these parameters (how they are named) can be seen by Dropbox…
-
@"sr_c" wrote: ...},data: filedata}... @"sr_c", When you are preparing a request body with appropriate data, you have to set those data. What actually is going on here? 🤔 You have already prepared request body (that you named as 'filedata' - incorrect name and probably confusing)! In this context instead of setting 'data',…
-
Hi @"shibananda", Do something like following (step by step - line by line): $ curl -L https://www.dropbox.com/download?dl=packages/ubuntu/dropbox_2020.03.04_amd64.deb > ~/dropbox.deb $ sudo apt-get install ~/dropbox.deb $ rm ~/dropbox.deb $ dropbox stop $ rm -rf ~/.dropbox* $ dropbox start -i Execute all commands as they…
-
Hi @"rweckey", You're hitting in painful place of Dropbox API documentation - partial documenting. It's mentioned that "shared_link_already_exists" is optional field of the union, but no anything about what this depends on - that would let probability control. When exists, you can get the metadata, otherwise, as you have…
-
@"pkd" wrote:... is there a way to get refresh token directly on Dropbox website without running some other script? No, there isn't - not yet at least. PS: Just to mention, if you decide usage of non PKCE OAuth flow, application secret becomes mandatory (in spite optional otherwise)! In such case you would need to add it,…
-
@"pkd", Did you get some error or something? 🧐 The refresh token gets in the configuration file (on OAuth flow success) and stay there, where it's read on command start. The file gets updated whenever needed to minimize needed refreshes. Take a look in the configuration file (named 'cert.json', in my script, residing in…
-
@"eminem18753" wrote:Hi, but why if I upload some stuff to dropbox, only the "used" changed, but the "allocation:used" doesn't change. ... @"eminem18753", Where did you upload your stuff? 🤔 In some team folder or into some your private folder (including your home folder)? @"eminem18753" wrote:... Moreover, If the user…
-
There is: https://www.dropbox.com/2/browse_zip_downloads/get_zip_download_url ... but it's undocumented and for internal use only. 🤷
-
@"1575475" wrote:... No job is running (even after polling for about 10 Minutes or so), job id - of course - is present. Setting for /2/sharing/share_folder: "force_async":false ... I'm not aware of any explicit time limits. 🤔 For sure 10 mins should be enough. You can force such a query to be async, but no opposite!…
-
@"1575475" wrote:... The endpoint /2/sharing/get_folder_metadata needs an ID but we've only the path at this time. ... Hi @"1575475", In such a case calling /2/files/get_metadata will let you know you shared folder ID (sharing_info.shared_folder_id) and... you can continue from now on, I believe. 😉 Good luck.
-
Hi @"eminem18753", Your results show that the account in use is team account that doesn't has independent root and member home and account root is the same thing (in such a case 'get_current_account' returns 'user'). If there is independent root namespace the same result will be 'team'. 😉 Take in mind that this label…
-
That what I said is you can't append to a file, nothing more. You can have whatever you want wherever you want. Just every next version should be uploaded anew.
-
@"DeeG2009" wrote:..., ive been messing with this for almost a week now, and thats all it was. "/CPGC/Akron/" is working just fine to the existing folder. ... As Greg correctly supposed and you skipped to say, you are running team account, not personal. Your initial path is correct and would work for personal account. By…
-
@"DeeG2009" wrote:... This is the output from upload to dropbox. @"DeeG2009", Greg asked you for dump of the result from 'dbx.files_upload'. Post it. @"DeeG2009" wrote:/JD%20Byrd/CPGC/Akron/ - this is where i am sending the images. ... Are you sure? 🤔 How you got to it? Did you check/dump it?
-
Hi @"Mark E.29", LAN Sync is no more supported on Mac (scroll down to "LAN Sync is currently not supported on Dropbox for macOS." line in the table) once Dropbox started using Mac specific (and provided by Apple) sync engine and left their own. 🤷 That's it. Hope this clarifies matter.
-
Hi @"shinestar9101987", You need refresh token for long term access since long lived access token was dropped. Currently all new access token are short lived. Here you can see an example how refresh token bahaves. Once you get to a refresh token, you can use it to initialize SDK client object. Take a look on the…
-
@"DeeG2009" wrote: ... # Upload the image to Dropbox try: with open(os.path.join(windows_server_folder, name), "rb") as f: dbx.files_upload(f.read(), os.path.join(destination_folder, name)) except Exception as e: print(f"Error uploading {name} to Dropbox: {e}") continue ... maybe i am not getting the path to the folder in…
-
Hi @"DeeG2009", There is a similar question here. You can take some idea out from there. 😉 @"DeeG2009" wrote:... For the life of me i cannot get it to stop creating new folders. . ... If the folder you are going to upload to is there, no other will be created. If such a folder is missing, it's gonna created automatic. Hope…