Android Question Upload by sessions in DropboxV2.

peter93

Member
Licensed User
Longtime User
I need to send some files more than 150 MB on Dropbox.
Is 150 MB limit for upload still valid ?
But the transfer by sessions is not implemented in DropboxV2.
Is it that the transfer by session will be implemented soon,
or another solution is it possible?
Thanks for your help.
 

DonManfred

Expert
Licensed User
Longtime User
The Upload of a File in ONE Piece is still limited to 150mb.

You are using which Library exactly? The Dropbox V2 JAVA or the HTTP Version?

If you are using the HTTP Version. The Source of the Class is available (B4A Code). Feel free to add the Missing Endpoints.

You can find the documentation here. https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start
https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-append_v2
https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish

Edit To add: The HTTP Version already includes upload_session-start/Append_v2 and finish
 
Last edited:
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
The Upload of a File in ONE Piece is still limited to 150mb.
Version 0.4 of the Library have now a completely rewritten Upload Method which uses a Session-Upload. I tested it yesterday with files from 10mb to 590mb (all successfully) though it will work with bigger files too i guess.

Edit: I´m now testing it with a 2.4GB big File...

uploadsession()
B4X-Video-Tutorials.zip -> 8,192 KB /2,468,663 kb -> .33 - Session AAAAAAABMf-2ITcAVqpJXQ
B4X-Video-Tutorials.zip -> 16,384 KB /2,468,663 kb -> .66 - Session AAAAAAABMf-2ITcAVqpJXQ
[...]
B4X-Video-Tutorials.zip -> 2,441,216 KB /2,468,663 kb -> 98.89 - Session AAAAAAABMf-2ITcAVqpJXQ
B4X-Video-Tutorials.zip -> 2,449,408 KB /2,468,663 kb -> 99.22 - Session AAAAAAABMf-2ITcAVqpJXQ
B4X-Video-Tutorials.zip -> 2,457,600 KB /2,468,663 kb -> 99.55 - Session AAAAAAABMf-2ITcAVqpJXQ
B4X-Video-Tutorials.zip -> 2,465,792 KB /2,468,663 kb -> 99.88 - Session AAAAAAABMf-2ITcAVqpJXQ
dbxFiles_UploadFinished(true Session AAAAAAABMf-2ITcAVqpJXQ -> {".tag":"file","name":"B4X-Video-Tutorials.zip","id":"id:qn6VkEYC6_gAAAAAAABlWw","client_modified":"2018-05-21T05:41:27Z","server_modified":"2018-05-21T05:41:27Z","rev":"1c04511fadbd8","size":2527911112,"path_lower":"/testupload4j/b4x-video-tutorials.zip","path_display":"/testupload4j/B4X-Video-Tutorials.zip","content_hash":"4dba6fea463cc3f94819b8be0044e59ba9854ceb6e21de014c3161bc98d78e13"})
{
".tag" : "file",
"name" : "B4X-Video-Tutorials.zip",
"id" : "id:qn6VkEYC6_gAAAAAAABlWw",
"client_modified" : "2018-05-21T05:41:27Z",
"server_modified" : "2018-05-21T05:41:27Z",
"rev" : "1c04511fadbd8",
"size" : 2527911112,
"path_lower" : "/testupload4j/b4x-video-tutorials.zip",
"path_display" : "/testupload4j/B4X-Video-Tutorials.zip",
"content_hash" : "4dba6fea463cc3f94819b8be0044e59ba9854ceb6e21de014c3161bc98d78e13"
}
 
Last edited:
Upvote 0
Top