Skip to content

Commit 451d148

Browse files
author
Matt Willer
authored
Fix chunked upload for files > 2GB (#531)
1 parent 86b82f2 commit 451d148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/box/sdk/LargeFileUpload.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ private List<BoxFileUploadSessionPart> uploadParts(BoxFileUploadSession.Info ses
163163

164164
int partSize = session.getPartSize();
165165
long offset = 0;
166-
int processed = 0;
166+
long processed = 0;
167167
int partPostion = 0;
168168
while (processed < fileSize) {
169169
//Waiting for any thread to finish before

0 commit comments

Comments
 (0)