Automate Post

  • Thread starter Thread starter Chris
  • Start date Start date
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.
 
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.
 
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.
 
Back
Top