Hi,
when i want to try sent a file.txt from Embedded PCs. I use c# to write Aplication Console to send file. This is my code:
Ftp client = new Ftp();
client.Connect(DevConfig.RemoteHost);
client.Authenticate(DevConfig.User, DevConfig.Password);
Console.WriteLine(client.IsConnected);
FileStream fi = new FileStream(path, FileMode.Open);
client.UploadFile(fi, pathServer); // When i debug i Exception right here
Console.WriteLine("Upload File Success");
fi.Close();
client.Disconnect();
Console.WriteLine("Disconnect FTP");
Exception : TypeLoadException.
asked 7/25/2020 12:58:18 PM