Ellie said:
Probably because I don't know what I'm doing! I have to upload a file but
it doesn't work if I try to put it in the same asp page as all of the
other processing. I have to add the ENCTYPE="multipart/form-data" to the
form statement which my page doesn't seem to like. I didn't know I could
have more than one form on a page??? This does open up a lot more
possibilitie but it seems I can get that accomplished with having a
redirect to a form input page, pass it the file information to upload,
submit the form and then redirect it back to what the original page was
doing.
What are you using on the serverside to receive the file?
When using multipart/form-data encoding ASPs Request.Form collection is not
able to return the field contents. The fields are there but encoded as mime
parts which ASP doesn't understand. Some serverside uploader tools allow
you to access these fields. Without this sort of support it will be
difficult to achieve what you want in a pure HTML form.
Note that a file input cannot be initialised with a file path. Hence any
plan to have the response form an ordinary post to automatically send
another post containing the file will fail.