I got this simple jquery plugin to upload files.
i can add multiple files, but i cant seem to write a code that saves all the files, only one..
var _thumb = string.Empty;
if (!string.IsNullOrEmpty(fuUploadThumps.FileName))
{
_thumb = fuUploadThumps.FileName;
fuUploadThumps.SaveAs(Request.PhysicalApplicationPath + @"\img/produkter\" + _imagePath["categoryImagePath"] + "resized/thumbs/" + StripInput(_thumb));
}
Can anyone help me?
More code
_objAdmin.Name = StripInput(_thumb);
_objAdmin.Connection = Session["imageConnection"].ToString();
_objAdmin.AddThumbs(_objAdmin);
Thats all :=)