[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1547
  • Last Modified:

Uploading files with VB.NET using HTTP POST ?

Hello

Does anybody know how to upload files via HTTP POST using VB.NET?

Thanks


Jonathon
0
jonnykeogh
Asked:
jonnykeogh
1 Solution
 
BTosonCommented:
Do you have a script that will accept the input?
The most basic method is shown below.
Dim WC As New System.Net.WebClient
Dim UploadResponse = WC.UploadFile("http://address/to/script", "POST", "filename.txt")

Open in new window

0
 
jonnykeoghAuthor Commented:
Thanks, this is exactly what I was looking for.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now