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
{{ message }}
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
I'm investigating if this SDK might be a good choice for my organization for sharepoint file handling via REST.
I'm using the DocLibClient from sharepoint-services-java to handle files and folders on a sharepoint site. When I'm downloading a file, I can see no other option than to call getFile which loads the entire file contents into a byte arrray. This of course consumes a lot of memory if it is a large file.
Is it possible to create a method with the following signature?
public ListenableFuture<InputStream> getFile(String path) {...}
This would allow us to handle the download from the stream in a convenient way.
Regards
Daniel Rehnberg
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi.
I'm investigating if this SDK might be a good choice for my organization for sharepoint file handling via REST.
I'm using the DocLibClient from sharepoint-services-java to handle files and folders on a sharepoint site. When I'm downloading a file, I can see no other option than to call getFile which loads the entire file contents into a byte arrray. This of course consumes a lot of memory if it is a large file.
Is it possible to create a method with the following signature?
public ListenableFuture<InputStream> getFile(String path) {...}
This would allow us to handle the download from the stream in a convenient way.
Regards
Daniel Rehnberg
The text was updated successfully, but these errors were encountered: