Free Support Forum - aspose.com

FtpClient Exists method for Directory

Hello,

Is FtpClient.Exists expected to work on directories? If not, is there a method that will accomplish this?

Thank you.

Hi,

Yes, FtpClient.Exists() method can also check directories, but you need to give the full path in the argument e.g. FtpClient.Exists("/folder1/sub1").