I am using radasyncupload to upload multiple files to the server. By default how can I overwrite if the selected file is already uploaded in the server? Any help would be great.
Thanks
Sameer
In the case of RadAsyncUpload, if you select a file to upload which is already present in the target folder, then it is automatically overwritten. So you don't need to explicitly write any code to achieve your requirement. But in the case of RadUpload you can allow the control to overwrite existing files in the target directory by setting the
OverwriteExistingFiles property to True. The OverwriteExistingFiles property is available for RadUpload only.
Thanks for the nice explannation and that was actually a mistake in my code. I have another query. Why the file upload size is restricted to 2gb? Or is it a default settings and can we override it?
Earlier RadAsyncUpload had a size restriction of 2GB which has been resolved in the latest Q2 2013 release of Telerik RadControls for ASP.NET AJAX. In this latest release the type of the ContentLength properties in the AsyncUpload is changed to Int64 and hence it is capable to handle files with size more than 2GB.