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

How to delete file from source directory after upload?

1 Answer 66 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
wilson
Top achievements
Rank 1
wilson asked on 11 May 2011, 06:21 PM

Hi,

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?

Thanks.

Wilson

1 Answer, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 13 May 2011, 08:22 AM
Hello wilson,

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

Greetings,
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.

Tags
Upload (Obsolete)
Asked by
wilson
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or