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: docs/upgrade-to-v6.md
+1-45Lines changed: 1 addition & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -431,52 +431,8 @@ Using batched requests can make your code a lot faster, if you need to query sev
431
431
### Large File Upload Enhancements
432
432
433
433
In v6 we have enhanced our large file upload experience by adding the ability to pause and resume large file uploads. This functionality is described in detail [here](https://learn.microsoft.com/en-us/graph/api/driveitem-createuploadsession?view=graph-rest-1.0&preserve-view=true).
434
-
The sytax for uploading a large file has changed in v6, use the following example to get you started using the new LargeFileUpload task.
435
-
Large File Upload example:
436
-
```java
437
-
//Initialize the file input stream and get the file size
438
-
InputStream file = new FileInputStream("File-Path");
439
-
long fileSize = file.available();
440
-
441
-
// Set the DriveItemUploadableProperties
442
-
// This is used to populate the request to create an upload session
443
-
DriveItemUploadableProperties driveItemUploadableProperties = new DriveItemUploadableProperties();
0 commit comments