cloudinary / cloudinary_java

Cloudinary Java Client Library
MIT License
163 stars 110 forks source link

Allow streaming upload #236

Closed ferencbeutel4711 closed 3 years ago

ferencbeutel4711 commented 3 years ago

Feature request for Cloudinary Java SDK

Hello, it would be great and is absolutely necessary for big asset uploads to be able to stream the asset data during the upload, so that we dont have to buffer the whole image into a byte-Array first when generating the images without actually saving them into the File-System. In #38 this request was already discussed, but as it seems the API has changed in the meantime, since the MediaManager is not part of the java sdk anymore. Please support this again for the java-sdk again, I cant use the Android-SDK since my Application is not Android-based.

ferencbeutel4711 commented 3 years ago

I have provided a pull request to support this feature for http-client-versions >42 For version 42, I have not found an easy way. Would still be great to get this merged :)

ferencbeutel4711 commented 3 years ago

nvm, have just found out about uploadLarge, which is what I need.