Diane,
>>How do I specify the folder to save the uploaded files in? Also, can I change the filenames?
Yes, you can specify the uploaded file name and location.
For example, you create a multiple upload control:
<CuteWebUI:UploadAttachments runat="server" ID="TopicFiles">
<VALIDATEOPTION AllowedFileExtensions="jpeg, jpg, gif, zip, doc, pdf" MaxSizeKB="10240" />
</CuteWebUI:UploadAttachments>
To save the uploaed files, you need to some code like this:
//use to array so the Delete action will not break the foreach.
foreach (AttachmentItem attitem in TopicFiles.Items.ToArray())
{
if (attitem.Checked)
{
//Copies the uploaded file to a new location.
attitem.CopyTo("c:\\temp\\"+attitem.FileName);
}
}
The file name and location of the uploaded files can be easily specified.
An online demo is here:
An advanced example is here:
>>Is there a way to enforce a maximum number of uploads?
Yes. We just created a new example and will add it into the download package tomorrow.
Uploading multiple files (Limit the maximum allowed number of files to be uploaded)
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx