列出檔案List
foreach (string fname in System.IO.Directory.GetFileSystemEntries(@"D:\photos\20181027")) { //myComputer.Network.UploadFile(fname, "http://ip/upload.php"); UploadFilesToRemoteUrl("http://ip/upload/upload.php",fname); Console.WriteLine(fname); }
建立目錄