我有贏的服務,必須由URL下載所有zip文件(例如http://download.geonames.org/export/dump/),但是當我使用Directory.GetFiles
方法或DirectoryInfo di = new DirectoryInfo(ConfigurationManager.AppSettings["GeoFullDataURLPath"])
我得到錯誤:獲取WINSERVICE通過URL目錄的文件名或WinForms應用程序
URI formats are not supported..
如何我可以解決這個問題?
是匹配本地網址路徑? – jv42
在遠程服務器上的URL,它不是本地路徑... –