Forum Discussion
sameburn
6 months agoContributor II
Hi Ioana have you tried deleting the file at the start of your logic (e.g. before file is generated)? e.g.
Dim fileDelete As Boolean = FileHelper.DeleteFileWithRetries(exportFilepath, True)
This means it only generates the file if your conditions are met and any residual file would be cleared before we hit your conditional logic and regenerate the file
Hope this helps
Related Content
- 10 months ago
- 2 years ago
- 11 months ago