Open aravindk777 opened 8 months ago
Reopening this, as the problem is, the library appends the new file being downloaded to the already existing file under the local path with the same name, instead of overwriting entirely or throwing an error.
For reproducing this,
Hi @aravindk777, I have some unit tests and integration tests for this scenario and all of them passed. I think you have some config that can produce this issue. Please append your download config info to check more.
my test is:
Description
When attempting to download the same file to the local directory with the same filename that exists already, the library is not overwriting/replacing or throwing any sort of error/message.
Usage
How to reproduce
localPath
variable directory with thelocalFileName
variable valued file name.localFileName
to thelocalPath