I am trying to make a multiupload code.
with two button :
add : to add the file from fileupload to a list.
upload : to upload all the file from the list.
in the list i am saving :
Vale = the file name.
FullPath = full path from the client side.
and i want to upload them from the FullPath in the list to some file :
String _dest = "~/upload/";
foreach (FileListType _temp in FileList )
{
FileUpload _file = new FileUpload();
}
protected List<FileListType> FileList { set; get; }
protected struct FileListType
{
public String Value { set; get; }
public String FullPath { set; get; }
}
but actually i don't know how to continue :
my idea is to build a new fileupload and give them the path from the list for each element and upload it using that fileuploader
but how can I add my file path to the fileuploader ?
any one can help me or lead me where i can search ?