By Pass Proxy Server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • patelashlesh
    New Member
    • Jan 2009
    • 1

    By Pass Proxy Server

    Hi,

    I want to upload my xml file ("test.xml") on to a specific URL. But I want some code snippet which helps me to by pass the proxy.

    I have used Net.WebClient to upload file,
    fileURL="http://10.0.0.196/UploadFile.aspx "
    fileLoc="C:\tes t.xml"
    ''N/W credential is already set to webclient object.
    Dim respByte As Byte() = objWebclient.Up loadFile(fileUR L, "POST", fileLoc)

    By this way, I am successfully upload the file but on the server which is proxy enabled server then I unable to upload.

    So I need the way to bypass this proxy if it is proxy enabled server.

    thanx in advance.
Working...