URI formats are not supported. RRS feed

  • Question

  • User-1881192663 posted

    Imports System.IO
    Imports System

    Dim strURL As String="http://localhost:1234/myfile.jpg"

    Dim file As FileInfo
    file = New FileInfo(strURL)

    This is my code.  I am trying to download a file from IIS, but encountering the following error:

    URI formats are not supported.

    How can we access a file on server, kindly let me know


    Saturday, April 7, 2012 10:12 AM


All replies