What exactly does the TimeToLive property on the AsyncUploadConfiguration control?

2 posts, 0 answers
  1. Richard
    Richard avatar
    4 posts
    Member since:
    Mar 2011

    Posted 25 Jul 2013 Link to this post

    How is this different from the TTL property of the Radasyncupload control? I noticed that if the TTL is zeroed out when using a custom upload handler / custom config, The file upload is corrupted due to the temp file being deleted part way through the upload it seems. If I correctly give it a time of say 5 minutes , everything is fine. Even though the RadAsyncupload control already has a TTL set it is not honored if I used the custom config.

    Does this TTL start as soon as the file starts uploading? Or when the upload is finished?

  2. Hristo Valyavicharski
    Hristo Valyavicharski avatar
    975 posts

    Posted 30 Jul 2013 Link to this post

    Hi Richard,

    This property controls how long temporary files should be kept before application automatically deleting them. When you are using custom AsyncUploadConfigurationTemporaryFileExpiration property reads value from TimeToLive property.

    After the Default Upload Configuration is created TTL is send to the client together with all properties from AsyncUploadConfiguration. Then the user selects file for uploading and the configuration is transferred from the client to the upload handler. The TTL starts right after the file is uploaded.

    Hristo Valyavicharski
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top