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
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.
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,
Download a sample csv file to the local path. (say, it may have 1000 rows)
Download another different csv file to the local path, but with the same filename (say, it may have 5k rows)
Check the file contents after 2nd download attempt
File content seems to have merged or appended but notoverwritten.
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.
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
The text was updated successfully, but these errors were encountered: