I am using the "Pure ASP File Upload" from ASP 101 (http://www.asp101.com/articles/jacob/scriptupload.asp
) and I cannot seem to get the name of my file from my form. It's not throwing an error, it's just not returning anything.
This is how the form element looks:
<input type="File" size="50" name="FILE1" class="FormInputFile">
And this is the code I am using to call it:
FileExtension = Ucase(Right(FileExtension,
I am really trying to get the file extension of the file that is being uploaded, because I want to limit the types that can be uploaded.
Does anyone have any ideas what I may be doing wrong?