WebClient.UploadFile()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eashokan
    New Member
    • Feb 2008
    • 2

    WebClient.UploadFile()

    I'm doing file uploading to a system in our intranet using WebClient.Uploa d().
    Following is the code snippet.

    byte[] res = myWebClient.Upl oadFile("http://192.168.1.8/Upload/Default.aspx", "POST", "C:\\66.txt ");

    This works fine for some systems. but doesn't work for some other systems.

    Do I need any changes in Localhost settings?
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    This article may help:
    WebClient.Uploa dFile Method

    Comment

    Working...