Hi,
i'm using a Chilisoft ASP component - Chili!Upload
I have a form as such:
___________________________
<FORM ACTION="getfile_lnx.asp" METHOD="POST" ENCTYPE="multipart/form-data">
<INPUT TYPE="FILE" NAME="FILE" size="70">
<INPUT TYPE="SUBMIT" VALUE="Upload">
</FORM>
___________________________
This is then submitted to :
Set fbase = Server.CreateObject("Chili.Upload.1")
Response.Expires = 0
fbase.SizeLimit = 500000
fbase.AllowOverwrite = false
fullpath = fbase.SourceFileName
____________________________
If the user presses the upload button without first selecting a file I get an error:
Chili.Upload.1 error '80020009'
Filename is empty. No file was selected
However I try to catch this error, I just cannot.
Please can you help me get around this.
Thanks
David