Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.9k views
in .NET FTP by (280 points)
Dear EnterpriseDt

The
SecureFTPConnection.DownloadFile Return ZERO byte file
and doesnot throw any exception in a weak link FTP location.

SIZE <FileName> 213 37990

PASV 227 Entering Passive Mode (X,X,X,X,X,X).

RETR <FileName> 150 Opening BINARY mode data connection for <FileName>.

BYTES TRANSFERRED NOTIFICATION: 0

226 Transfer complete. 38053 bytes transferred. 38053 bps.

Although it says 38053 bytes transferred, we get 0 bytes.

FYI... We are using edtFTPnetPRO.dll 7.0.1.20 .NET 2.0+

Regards
Surya

1 Answer

0 votes
by (280 points)
Here is an update to this.

After Activating the edt log, we found out that the data connection closes abruptly.
This is the reason for the zero byte file.

This is an Environment issue , as the same application works fine at other sites.

But we are not sure what is causing the connection to close.

Issue still remains.

Regards
Surya

Categories

...