Hi MarjaR,
Please try the example below, it will delete the temp file one bye one when the file upload finished.
<%@ Page Language="C#" Title="Customize the queue UI" %>
<%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<script runat="server">
protected void uploader1_FileValidating(object sender, UploaderEventArgs args)
{
//handle the upload files
args.CopyTo("~/Uploads/" + args.FileName);
//delete the temp file
args.Delete();
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
</head>
<body>
<form id="Form1" runat="server">
<CuteWebUI:UploadAttachments ID="uploader1" runat="server" OnFileValidating="uploader1_FileValidating">
</CuteWebUI:UploadAttachments>
</form>
</body>
</html>
Regards,
Ken