How to send file to remote computer?
- by Phsika
i can get file name via below codes. How can i send this file to remote computer. this remote computer ip: 192.168.2.105 also i can use 51124 port
class Program
{
static void Main(string[] args)
{
string[] dosyalarinYollari = System.IO.Directory.GetFiles(@"z:\20071008\1.2.392.200036.9116.2.6.1.48.1215563310.1191800303.305777\", "*.dcm", System.IO.SearchOption.AllDirectories);
foreach (string s in dosyalarinYollari)
{
Console.Write(s+"\n"); // i need to send tihs s file to remote machine
}
Console.ReadKey();
}
}