Why would the FTP GetFile Method produce a zero byte file?
For instance, a zero-byte file will be produced if the remote file you are downloading has length = 0. You can check the length of the remote file before downloading using GetFileLength method like this:
ftp.GetFileLength("filePath")
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.