[Aspose.Network] FTP Receveid Data Failed

Hello.
I’m trying your Aspose.Network dll and I have a problem to download files from one FTP.

I’m trying to download “Sales.pdf” from ftp and sometimes(not always) ftpClient.Download method raise an exception: “Receveid Data Failed”.
Other times Download is Ok.
When I go to destination folder in my pc, when download isn’t ok I see file with less dimension.

Why?

My Code:
Dim client As FtpClient
try
client = New FtpClient(ftpHost, ftpPort, userName, password)
client.Connect(True)

If client.Connected Then
client.Download("/Test/Sales.pdf", “C:\Temp”, IO.FileMode.Create)
end if
catch
MessageBox.Show(ex.Message)
end try


THANKS!

Anyone? please. It’s important
thanks in advance!

Hi,

Sorry for not replying earlier.

Does it happen with specific file only or for any file that you download? I tried at my end with the latest release, but could not reproduce this issue, even after calling the method multiple times in a loop, the file downloads complete every time.

Could you set the license and check again? You may get a free 30 days temporary license for evaluation from http://www.aspose.com/corporate/purchase/temporary-license.aspx.

If you still have problems, could you please provide a test account for our debugging, so that we could reproduce and try to find/fix the problem.