This is a migrated thread and some comments may be shown as answers.

RadCloudUpload deletes committed files (load balancing group related?)

0 Answers 65 Views
CloudUpload
This is a migrated thread and some comments may be shown as answers.
Micke
Top achievements
Rank 1
Micke asked on 13 Apr 2021, 03:27 AM

We have a RadCloudUpload control that saves files to an S3 bucket. A postback is done afterwards by a save button. Works fine on dev machines.

On the AWS servers, some files get deleted after upload and save, but not all.
I uploaded 18 files today, 17 of them got deleted after the UncommitedFilesExpirationPeriod (which is set to 1 hour). This was during the day, when we run 16 web servers in a load balanced server group.
I tried later in the evening, when we reduce it to 2 web servers in the group. At that point, I uploaded 18 files again, and 9 were deleted.

That made me suspect that the problem is that the postback is done to a different webserver, and thus the RadUploadControl does not set the files as committed. Does that seem likely? If not, what could be the cause of this?

And more importantly, how should I solve it? I looked in the forum here and found how to override the DeleteFile method, which works... but then how do I allow users to delete files (which seems to work by simply never committing the file and then deleting it from S3 after the UncommitedFilesExpirationPeriod ).

Thanks.

No answers yet. Maybe you can help?

Tags
CloudUpload
Asked by
Micke
Top achievements
Rank 1
Share this question
or