fork(1) download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Net;
  6. using System.Threading.Tasks;
  7.  
  8.  
  9. namespace _2chparse
  10. {
  11. class Program
  12. {
  13. static void Main()
  14. {
  15. string remoteURI = "https://2...content-available-to-author-only...h.hk/";
  16. string fileName = "2chthread.html";
  17. try
  18. {
  19. WebClient _webClient = new WebClient();
  20. _webClient.DownloadFile(remoteURI, fileName);
  21. Console.WriteLine("Successful!");
  22. }
  23. catch
  24. {
  25. Console.WriteLine("Failed");
  26. }
  27.  
  28.  
  29.  
  30. Console.ReadLine();
  31. }
  32. }
  33. }
Success #stdin #stdout 0s 29808KB
stdin
Standard input is empty
stdout
Failed