Unfortunately, there is no way to do that. The reason for this is because as
a security measure, there is no way to programmatically select the file that
the FileUpload control (which generates an input type="file" tag). Sorry,
but security does have it's occasional drawbacks.
--
Nathan Sokalski
(E-Mail Removed)
http://www.nathansokalski.com/
"Chris" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a web page that I want to automate a post to. I would use the web
>request. However the post involves a file upload. What would be the best
>way of doing this? Regards, Chris.
>