Hi,<BR><BR>I&#039;m building a page where the user can upload a file and in the process I&#039;m sending the file name to a database, so for example "this document.doc" or "this document.html".<BR><BR>I also want to send the file type to the database so from the file name I&#039;d just take the "doc" or the "html" part.<BR><BR>Can someone help me with doing this in asp.<BR><BR>thanks claire