Automate Post

C

Chris

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.
 
N

Nathan Sokalski

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.
 
C

Chris

Sorry I didn't make myself clear. There is a form I manually have to upload
a file to. I have the file and want to automate the process by posting a
stream to the form and have it upload and process the file.Regards, Chris.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top