I think there's a bug in this part:
|
builder.addFormDataPart("overwriteFile", "true"); |
We can't set overwriteFile to false, and the default value of overwriteFile is true.
Therefore, there's no way to set overwriteFile to false.
FYI, useUniqueFilename has a different and correct logic. It seems other flags also have buggy logic around this part i.e. can't set to false and the default isn't false.
Thank you.
I think there's a bug in this part:
imagekit-java/imagekit-sdk/src/main/java/io/imagekit/sdk/tasks/MultipartBuilder.java
Line 58 in 48e94f1
We can't set
overwriteFiletofalse, and the default value ofoverwriteFileistrue.Therefore, there's no way to set
overwriteFiletofalse.FYI,
useUniqueFilenamehas a different and correct logic. It seems other flags also have buggy logic around this part i.e. can't set tofalseand the default isn'tfalse.Thank you.