Relative path in web.config for temporary upload path

3 posts, 1 answers
  1. Roland Klug
    Roland Klug avatar
    26 posts
    Member since:
    Dec 2002

    Posted 13 Apr 2015 Link to this post

    Hi,

    I try to set a relative path for the temporary upload path, but I'm not know what's wrong.

    <add key="Telerik.AsyncUpload.TemporaryFolder" value="/upload/_temp" />
    leads to: 'C:\upload\_temp\RadUploadTestFile'

    <add key="Telerik.AsyncUpload.TemporaryFolder" value="upload/_temp" />
    leads to: 'C:\inetpub\twoeyes_intranet_beta\documentruler\upload\_temp\RadUploadTestFile'

    The first example seems to ignore the MapPath which is: 'C:\inetpub\twoeyes_intranet_beta\'
    The second example shows an expected behaviour.

    Best regards,
    Roland

  2. Answer
    Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 16 Apr 2015 Link to this post

    Hi Roland,

    Try this

    <add key="Telerik.AsyncUpload.TemporaryFolder" value="~/upload/_temp" />

    Does it help? 

    Regards,
    Hristo Valyavicharski
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Roland Klug
    Roland Klug avatar
    26 posts
    Member since:
    Dec 2002

    Posted 20 Apr 2015 in reply to Hristo Valyavicharski Link to this post

    Yes it helps. Thank you very much.

    Best regards,
    Roland

Back to Top