-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maximum attachment size for Dropbox sync #9106
Comments
|
Thank you for reporting this (and for linking to a forum post with a possible solution)! I don't think that Joplin does use the upload sessions API. These seem to be the relevant parts of Joplin's source code: joplin/packages/lib/DropboxApi.js Line 115 in cc19b2b
|
|
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
|
Still an issue! |
|
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
|
I can work on this, I need some verification on my approach to this before I miss things up:)
and voila! |
|
@7adidaz I'm not a contributor to Joplin, so someone else will have to provide implementation guidance. However, to avoid a potential bug, I imagine you'll need to ensure you check the file size after encryption has taken place (if the user has encryption enabled). |
|
ah yes, there will be a hash comparison to ensure data integrity. |
I have some PDF files of around 150MB as attachments to Joplin notes that won't sync. This is an import from Evernote and 40k other notes and attachments have synced without issue.
These PDFs repeatedly and consistently fail to sync via Dropbox.
I have encryption enabled, so as I understand it, the actual size of the encrypted files is larger.
The error on the sync page is:
This Dropbox forum post suggests that 150MB is the official limit for the endpoint being called:
https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Upload-File-size-above-300MB/td-p/389687
and suggests using the upload sessions API instead.
I have not looked at Joplin source code, but initial thoughts are:
Environment
Joplin version: Joplin 2.12.18 (prod, win32)
Platform: Windows
Steps to reproduce
Describe what you expected to happen
Successful sync without error
The text was updated successfully, but these errors were encountered: