file is copied, but then an error "Data does not end properly Rebex.Net.Ftp.GetFile(). if i use FileZilla Server to connect then the error does not occur. But i need to use Serv-U server.
This error is thrown when MODE Z is enabled (Ftp object's TransferMode property is set to FtpTransferMode.Zlib) and the received data does not end with a block that indicates end of compressed stream. It's possible FileZilla doesn't check for this.
Ftp
TransferMode
FtpTransferMode.Zlib
We will send you a link to a version of Rebex FTP that doesn't perform this check in an hour or two. Please give it a try, check whether the file has been fully transferred and let us know.
* UPDATE: *
The fix is part of build 4060 http://blog.rebex.net/news/archive/2011/02/15/build-4060.aspx released in February 2011.
Welcome to Q&A forum for C# and VB.NET developers working with following .NET components:
Applications:
If you need immediate assistance, please contact us directly.