Hi guys,
I have a problem when I try to call method MoveTo to move all the uploaded files to our directory.
- void Uploader_FileUploaded(object sender, UploaderEventArgs args)
- {
- args.MoveTo(Server.MapPath("~/Uploads/"));
- }
Here is the message of that exception:
Cannot create a file when that file already exists.
I need your advice on this.
Thanks in advance!
Regards,
Tien