Solved Downloading a file.txt?

Discussion in 'Rust Development' started by ZeusGOD, Nov 4, 2017.

  1. string text = "";
    using (var wc = new WebClient())
    {
    text = wc.DownloadString("http://58.224.60.109:45162/r.txt");
    }

    It is not working how to get web file.txt
     
  2. Wulf

    Wulf Community Admin

    Use Oxide's webrequest API. You also won't be able to access or download files like that.