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

Query on expiration timeout

1 Answer 5 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 04 Sep 2014, 04:42 PM

I have an application on a site that uses the radasync upload. It is a two part application process. Everyone fills out the first page and upon the answer of a question, it'll load the second page with a certain control. These controls all contain a rad async upload and all have the same temp folder path and have the same expiration timeout. Occasionally, in the error logs I see that some errors come with cannot find file in temp folder. I thought at first i thought that it was the expiration time out was set to 2 hours so i changed all of them to 5 hours, but that did not seem to resolve the issue as I keep receiving these messages. The application does not have a lot of questions so I do not think that it would take long to complete the application and the users should be able to complete the application before the time out expires. Could it be that since all controls are writing to the upload temp folder, that there is conflict?

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 09 Sep 2014, 11:10 AM
Hi Paul,

The chance to occur file name collision is very rare. Because the current time (in milliseconds) is added before the file name. This is how the temporary file name is formed. Note that all files in the temporary folder are not removed at once. Every file will be removed after the temporary file expiration time after its uploading passes.

Can you paste your code here, so we can review it.

Thanks.

Regards,
Hristo Valyavicharski
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
AsyncUpload
Asked by
Paul
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or