Skip to content

Conversation

@josiasmontag
Copy link
Contributor

This adds an optional filename parameter to the upload method.
Useful if you need to override the filename, for example if the mime detection fails (DOCX files).

cloudConvertClient.importUsing().upload(new UploadImportRequest(), docxInputStream, "test.docx");

@josiasmontag josiasmontag merged commit 836d3a1 into master Apr 8, 2021
@josiasmontag josiasmontag deleted the feature/allow-overriding-upload-filename branch April 8, 2021 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant