Essentially, the page I need to upload to is "blah.pl" and the server's form has "type=file name=filename" and I don't see anywhere where I can specify the variable name of "filename".
Help plz!
So what I am really getting at is this: The server has a form which says "type=file name=filename".
So when you are building the URI request, how exactly do you do it to include the variable names from above to stream your file to? The below does not work... please help!
Dim uriString As...
I see the example.. thanks!
I still don't see how to actually use that. So lets say my URL is http://asf.pl?var=asdf&var2=asdf and then i have a type=file with name of var3
So how do I modify the code to use the var3 as the variable with the file to be uploaded to?
Thx in advance!
Hello,
I'm trying to write a vb.net command-line application that will upload files to a partner's website via a HTTP form. The problem I am having is that I have no idea how to do a HTTP POST where the input type = file (file to be uploaded). I can do a HTTP POST with all the other variables...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.