Hi,
Are you using UploadAttachments?
Maybe you can try this code :
while(uploader1.Items.Count>0)
{
uploader1.Items[0].Remove();
//Remove() : remove it from collection but do not delete the temp file
//Delete() : remove it from collection and delete the file
}
Regards,
Terry