Stripping out part of a file name
Zip files get uploaded to my server. The zip file has the same name as the folder within it, only with a ".zip" extension of course. There is also an html file within the folder, but not named "quite" the same. Example:
Zip file= "Get_Well_Soon_HTML.zip"
Folder name="Get_Well_Soon_HTML"
File name="Get_Well_Soon.html"
I want to put the name of the html file in my database when the file is uploaded. I can get the folder name easily, since it's the same as the zip file, I just use File.ClientFileName. How can automatically determine the html file's name?
