FluentFTP icon indicating copy to clipboard operation
FluentFTP copied to clipboard

Inconsistency of throw exception while using

Open vancodocton opened this issue 4 months ago • 0 comments

**FTP Server OS: Unix

**FTP Server Type: Vsftpd

**Client Computer OS: Windows

**FluentFTP Version: 51.1.0

Framework: .NET 8

I use AsyncFtpClient to download and upload file. In the case that file does not exist:

  • DownloadFile throw FtpMissingObjectException with inner exception FtpCommandException
  • DeleteFile throw FtpCommandException.

That lead to catching exception is frustrating. Hope you can fix it asap

vancodocton avatar Oct 11 '24 04:10 vancodocton