Re: File uploads being duplicated. (Uploader1_FileUploaded event firing multiple times per file?)

  •  12-16-2010, 7:52 PM

    Re: File uploads being duplicated. (Uploader1_FileUploaded event firing multiple times per file?)

    Hi johansec,
     
    Try event UploadCompleted
     
        protected void uploader1_UploadCompleted(object sender, UploaderEventArgs[] args)
        {
            for (int i = 0; i < args.Length; i++)
            {
                args[i].CopyTo("~/photos/"+args[i].FileName);
                //save info into database
            }
        }
     
    Regards,
     
    Ken
View Complete Thread