07-27-2019, 03:06 AM
(This post was last modified: 07-27-2019, 03:07 AM by Alexandre Machado.)
After reading your report, seems that the problem is in your code.
The file list only contains the files being uploaded *during* specific IWFileUploader events. More specifically during OnAsyncUploadCompleted event.
When the upload is done, i.e. the file is saved to your HDD, the file list is cleared (at an undetermined time) and you can't rely on it anymore. IWFileUploader doesn't keep track of saved files once they are saved to the disk.
If you want them saved to a different place you have 2 options:
- Save them to that place upfront
- Keep track of the saved files in a list and then move them at some point when required.
The file list only contains the files being uploaded *during* specific IWFileUploader events. More specifically during OnAsyncUploadCompleted event.
When the upload is done, i.e. the file is saved to your HDD, the file list is cleared (at an undetermined time) and you can't rely on it anymore. IWFileUploader doesn't keep track of saved files once they are saved to the disk.
If you want them saved to a different place you have 2 options:
- Save them to that place upfront
- Keep track of the saved files in a list and then move them at some point when required.

