|
|
 |
FN-FORUM: classic asp and file uploads
date posted 24th July 2007 11:52
Morning!
I'm having a few problems getting file uploads to work with classic
asp. I know its not very good at this sort of thing, and that usually
a payed-for solution is best but that isnt an option here. I have a
free script which will quite happily upload a file posted via a form,
which is great - however the form I need to build can have up to 4
optional files and I need to check if they've been sent before I try
to upload them.
my issue at the moment is, how the hell to you check if a file has
been uploaded or not? usually I test if there has been input in a form
field by using something like
if len(request.form("blah")) > 0 then...
but with files it always returns '0' so that doesn't work! I've been
battling with this all morning and I'd really appreciate some help
before I go bonkers.
|
 |
|