Subject: TypeLoadExceptions - FTP (Windows CE- .NET Compact Framworks 3.5) Date: 2020-07-25 12:58:18 From: vlkh743 Source: typeloadexceptions-ftp-windows-ce-net-compact-framworks-3-5 ---------------------------------------------------------------------- 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. ---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index