TypeLoadExceptions - FTP (Windows CE- .NET Compact Framworks 3.5)

0
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.
ftp
 
asked 7/25/2020 12:58:18 PM
add a comment

0 Answers

Your Answer

Not the answer you're looking for? Browse other questions tagged ftp or ask your own question.