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

Overwrite existing files is not working

1 Answer 54 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Ramyashree
Top achievements
Rank 1
Ramyashree asked on 09 Feb 2011, 12:41 PM
Hi...
I'm using the code below to upload image files to the folder 'UserUploadedImages' residing on server... I have set the 'OverwriteExistingFiles' property to true but still I can see duplicate image files in my server folder .. What could be wrong ....?
<telerik:RadUpload UploadServiceUrl="/MyUploadHandler.ashx"
                          Name="radUploadImages"
                          OverwriteExistingFiles="True"
                          IsAutomaticUpload="false"
                          Filter="Image File (*.jpg;*.bmp;*.gif)|*.jpg;*.bmp;*.gif;"
                          UploadFinished="RadUpload_UploadFinished"
                          IsMultiselect="False"
                          MaxFileCount="1"
                          MaxFileSize="500000"
                          TargetFolder="UserUploadedImages"                           
                           >               
           </telerik:RadUpload>

Thanks .,
Ramya

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 11 Feb 2011, 06:36 PM
Hi Ramyashree,

I couldn't reproduce the issue on our side. Can you please have a look at the project I used for testing and let me know if I am missing something. Thank you in advance.

All the best,
Tina Stancheva
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Upload
Asked by
Ramyashree
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or