want to upload file to a remote server. from my local machine using file upload. for example : http://serverremote//upload
right now i can only do it locally.
any ideas what i have to do my folder on remote server is at
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
If Fileupload1.HasFile Then
pload" & Fileupload1.FileName)
Label1.Text = "Filename" & _
eName & "<br/>" & _
"File Size : " & _
& "kb <br>" & _
"content type: " & _
Catch ex As Exception
Label1.Text = "Error :" & ex.Message.ToString()
I tried My.Computer.Network.Upload
File namespace it only uploads specific file that too i am not able to doo gives an authorization error "The remote server returned an error: (401) Unauthorized. " .
what authorization i have to follow windows as my directory on the remote server is a virtual directory?