Hi kbranden,
1. If you did not get the TempDirectly, then the uploader will use the default system temp folder C:\Users\ken\AppData\Local\Temp\AjaxUploaderTemp\, not copies from memory.
2. Get the "The process cannot access the file because it is being used by another process.' error because you try to remove the temp file by MoveTo method. in this time other process still using the temp file. you can try the example below, it use MoveTo too, but will not get any problem.
<%@ Page Language="C#" %>
<%@ Register TagPrefix="CuteWebUI" Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void uploader1_FileUploaded(object sender, UploaderEventArgs args)
{
args.MoveTo("~/"+args.FileName);
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>example</title>
</head>
<body>
<form id="form1" runat="server">
<asp:Label ID="l1" runat="server"></asp:Label>
<CuteWebUI:UploadAttachments ID="uploader1" runat="server" OnFileUploaded="uploader1_FileUploaded">
</CuteWebUI:UploadAttachments>
</form>
</body>
</html>
Regards,
Ken