You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/b2SdkExamples/B2SdkExamples.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,10 @@ public class B2SdkExamples {
16
16
privatestaticfinalStringAPPLICATION_KEY = "yyy";
17
17
18
18
19
-
20
19
privatestaticfinalStringUSER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36";
21
20
22
21
privatestaticfinalintminimumPartSize = 5000000;
22
+
// TODO: read in a big file or generate a random file to fill into below byte array
// uploadPartUrl.getFileId() is: 4_zc0c2ee6e6dccd2d788960d17_f231f3059ce9d1672_d20231118_m042524_c004_v0402007_t0004_u01700281524855
55
55
// uploadPartUrl.getUploadUrl() is: https://pod-040-2007-12.backblaze.com/b2api/v2/b2_upload_part/4_zc0c2ee6e6dccd2d788960d17_f231f3059ce9d1672_d20231118_m042524_c004_v0402007_t0004_u01700281524855/0014
56
56
57
+
// TODO: figure out how to make below API call work elegantly
0 commit comments