http://www.aspupload.com/manual_simple.html
says
Upload.Files is a collection of UploadedFile objects which offer access to
various properties and attributes of uploaded files, such as filename, path,
size, hash value, etc. The UploadedFile object also offers many methods
which enable you to manipulate uploaded files (copy, move, save to the
database, delete, etc.) Individual items of the collection can be referenced
via numeric or string indices, or iterated through via the For-Each
statement.
which links to
http://www.aspupload.com/object_file.html
that says
FileName As String (Read-Only)
Returns the saved file's name. It may be different from the original file
name if unique file generation (the property Upload.OverwriteFiles) is in
effect.
Usage:
Response.Write File.FileName
So, if that returns a string, you can just check the characters after the
last . for the extension.
"Vilmar Brazão de Oliveira" <su*****@hitecnet.com.br> wrote in message
news:O6*************@tk2msftngp13.phx.gbl...
Hi,
How verify type or extension of file using ASPUPLOAD?
I check documentation, but I didn't find anything else yet.
thanks,
--
««««««««»»»»»»»»»»»»»»
Vlmar Brazão de Oliveira
Desenvolvimento Web
HI-TEC