Comments
-
Hi @"ramble", As far as I can see your link is working (without redirection - https://linux.dropbox.com/packages/dropbox.py - redirection might confuse your browser). In spite, you can use the source too. 😉 Command line option: wget https://linux.dropbox.com/packages/dropbox.py Good luck.
-
@"ThatBritishOne" wrote:... Is there a way I can preserve the path to upload and create the folders automatically? The API creates folder structure automatically - no folder(s) containing file need creation explicitly (only empty folders, if any, need explicit creation). Check what 'path' have you set for each entry (need…
-
Hi @"Gene_Parmesan", Migrate your code to use refresh token (together with the access one). Otherwise your script users will need access token update by hands quite often. Also cache the access token and wipe out all calls not related to the link receiving to speed up the process (every call - meaningful or not - takes…
-
Hi @"Natalia Teresa", Mark is correct; you can't transform any link in Dropbox itself. However you can do that in some other application. 😉 Just Install one you would like and you can generate any machine readable representation (including QR code). The your "link" for instance: I'm setting the word link (above) in quotes,…
-
Hi again @"feltj16", In your code are 2 mistakes at least. 🙂 One directly represented with the error message and one's gonna get show when first error gets fixed. Seems you are messing files content size. @"feltj16" wrote: ...body: "What data is here ? base64 or file works ?"...var offset =…
-
Hi @"feltj16", It seems like your are messing offset on append content to least one of your files. I can say what exactly is your mistake, since there are different options, but you haven't clarified how exactly you are proceeding. You may have made additional mistakes (out of the error message direct scope). Post some…
-
@"Shy1" wrote:... #... var authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Token, ApiKey, RedirectUri, state: state); #... ... @"Shy1" wrote:... ... var authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Code, ApiKey, RedirectUri, state: state, tokenAccessType :…
-
@"Shy1" wrote:... and I get the following error: an error occurred while sending the request at the moment Exchanging code for token ... Are you sure you keep talking for the same thing? 🤔 I cannot find any place in your source code where you receive a authorization code (you're receiving access token only). In this…
-
@"Shy1" wrote:... ... // Respond with a page which runs JS and sends URL fragment as query string // to TokenRedirectUri. using (var file = File.OpenRead("index.html")) { file.CopyTo(context.Response.OutputStream); } ... Ok, let's take a look on above part of your code. Do you understand what exactly this code does and is…
-
Yes, today (18 oct 2022) refresh token doesn't expire. Confirmed. 😉
-
@"E_Fuks" wrote:... For a big amount of roughly 100.000 files it works great. ... @"E_Fuks" wrote:... But we get a error argument list too long using 5000 files or more. ... Don't you contradict to yourself? 😁 Anyway... When and if the files count is too big, just decrease it. When and if overload happens, just delay and…
-
Hi @"E_Fuks", If you don't receive any error because of big files number ("too_many_files"), better keep lock the files in one call (or as fewer calls as possible). Every call needs time to get GIL ownership, that's why your algorithm gets slow down and increase Dropbox server loads. Seems like mistake in the call…
-
@"Shy2" wrote:... if I go through the debugger then I get to the HandleJSRedirect and everything ends there ... On the previous call (call to 'HandleOAuth2Redirect') you have to send back to the browser a 'index.html' file (actually almost entire javascript content), responsible for additional redirection that seems…
-
@"marty-greenwell-cloudm", a temporary workaround might be exclusion of all namespaces (shared folders in quotes) with ID that participates to set of 'member_folder_id' constructed using call to /2/team/members/list_v2. 😉 Hope this helps to some extent.
-
😁 Seems, you haven't read my previous posts. Take a look on them more careful. Can you find the link? 🧐🙂
-
@"Nprice" wrote:... I just wonder if there is a method similar to .files_move_v2 that I can call to add hashtags to each individual file. As far as I know there is not such a combined method. You need to make 2 (or more) consecutive calls to rename and to add tag(s).
-
Hi @"ThatBritishOne", Seems you cannot understand the idea of different types of upload strategies. You can use a single call upload (seems most suitable for you) and using /2/files/upload you can upload all files, one by one. If some file is bigger than 150MB, then you have to use upload session. Upload session…
-
Hi @"anoduck", One thing you can check is the correctness of you REFRESH_TOKEN. Print it out and check the value for proper formatting. There might be something different than the refresh token exactly or some additional symbols can appear (like extra quotes for instance). Good luck.
-
Hi @"jonas11", Your solution rather confirm my doubts for race condition. The worst thing that can happen is application stop (like before), nothing else. Actually only Dropbox can fix this in their code, nobody else. This is bug that can happen depending on timing conditions. We can only try to decrease probability such…
-
To be honest, I'm not sure what you ask me actually. You don't need any URL neither actual file to add a tag. The only thing you need is a regular file path (aside of the tag itself), nothing else. This is the same both when using direct API endpoint access or the same through any Dropbox SDK (including Python). There is…
-
Hi @"Nprice", Take a look here: https://www.dropbox.com/developers/documentation/http/documentation#files-tags-add 😉 for API end-point. Hope this helps. For Dropbox Python SDK method take a look here.
-
Unfortunately Dropbox doesn't provide a way to access application logs (I least I don't know for a such). Don't ask me why. Such access would give many useful information, but... 🤷 You case seems similar to one issue of mine; in spite not the same the solution may work for you too. The pseudo script there represents just…
-
Hmm... 🤔 Strange! Can you post the result of following command: ls -l ~/.config/autostart/dropboxauto.desktop By the way, you can avoid the disturbing message as follow the provided direction within the message itself - i.e. replace the deprecated method name and set newer one (they are synonyms, actually). This could get…
-
@"jonas11" wrote:... * Copying the desktop file didn't help either. ... Are you sure have used the same command above and not just drag and drop (or similar)? 🤔
-
@"Shy1" wrote:i am just delete anchor and error disapear. ... @"Shy1", Hmm.. 🤔 How have you deleted something nonexistent? I can see some anchor in your code responsible for redirect URI construction! I'm not sure you have some "configuration pc problem", but most probably you are mixing anchor and resource path. 🙂…
-
@"jonas11" wrote:... I came across [this](https://www.dropboxforum.com/t5/Create-upload-and-share/Autostart-not-working-correctly-Kubuntu-Ubuntu-18-04-5-LTS/td-p/535641) thread which recommends trying an "advanced reinstall", but the linked website seems to malfunction both on chrome and on firefox, and I can't expand the…
-
@"Shy1" wrote: ... if I try to do it through the code, I get this Invalid redirect_uri message. It must exactly match one of the redirect URIs you've pre-configured for your app (including the path). In console I added redirect url just like in code private const string LoopbackHost = "http://127.0.0.1:4200/"; what is my…
-
Hi @"msmoe", As a example you can take a look here. It's not a PHP code, but a command line curl execution. I believe you haven't problem to convert it. The most important is HOW it's gonna work (as idea). Have a nice day.
-
@"msmoe" wrote:... We Need long-live token. Hi @"msmoe", The only long-lived token is refresh token. Time ago was possible to get long-lived access token, but it's obsolete and dropped already (in spite an existing can still be used, but new can't be issued anymore). Access token can be "refreshed" (i.e. ensuring valid)…
-
@"Redcom6816" wrote: ... ... "Folder name": "30585 Site ID 1247 - 111 Jones Road - Dublin - CA - Wireless SO 13047PO ZD 2442 ", <-- ... Dropbox says "Error Message : path/malformed_path/..." Hi @"Redcom6816", Yes, your path is really malformed (no doubts). 😉 A path can NOT end with blanks! Hope this helps.