adam gills

adam gills

  • NA
  • 65
  • 13.6k

access text file from server/localhost in windows c#

Sep 23 2016 3:44 AM
Dear sir ,
I use as String[] urls = File.ReadAllLines(@"http://xxx.xxx.x.xx/urls.txt"); but its shows an error as "URI formats are not supported." 
so how can I access text file from our server/localhost.

Answers (11)