How can I get the list of all the uploaded files? I want to list the files in a dropdownlist, so that a user can choose which file to unpack, from the listed dropdown list. I have following code:
var path = Server.MapPath(Project.DataDirectoryPath);
string valueShownInDropDownList = dropDown.selectedValue+".zip"; (The value of uploaded file should be shown here)
var targetToExtract = string.format("{0}/FileBrowser/TestProj/files,projectPath");
using (ZipFile z = ZipFile.Read(targetToExtract.toString())))
{
entry. Extract(targetToExtract);
}