Uploading to a web server

  • Thread starter Thread starter Alvaro Lamas Castillo
  • Start date Start date
A

Alvaro Lamas Castillo

I am trying to upload a file to an webserver, but I get a method not allowed
error from the server. Im doing something like:
Dim wc1 As New WebClient()

Dim response As Byte() = wc1.UploadFile(uriString, "POST", fileName)
 
Alvaro Lamas Castillo said:
I am trying to upload a file to an webserver, but I get a method
not allowed error from the server. Im doing something like:
Dim wc1 As New WebClient()

Dim response As Byte() = wc1.UploadFile(uriString, "POST", fileName)

Do you have the necessary rights to upload files to the webserver?
 
Herfried,

How would the user authenticate against the web server or is that not
possible?
 
I have given me every right, since I'm testing to localhost at this stage,
obviously if you have any imput to when I actually go to a real online
server the help would be apretiated.
Alvaro
 
Back
Top