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
nj********@hotmail.com http://www.nathansokalski.com/
"Chris" <no****@nospam.comwrote in message
news:eZ**************@TK2MSFTNGP03.phx.gbl...
>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.