How to delete file from source directory after upload?

Thread is closed for posting
2 posts, 0 answers
  1. wilson
    wilson avatar
    31 posts
    Member since:
    Jul 2006

    Posted 11 May 2011 Link to this post


    Is it possible to delete the file from the source folder after the file is uploaded?  For example, if I am uploading the file File1.txt from my local drive C:\Temp\File1.txt, how do I delete the file(File1.txt) from C:\Temp\ directory after the upload?



  2. Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 13 May 2011 Link to this post

    Hello wilson,

    For a security reason it is not possible to delete files from the client machine. This is a browser limitation.

    Peter Filipov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top