How to check whether a folder exists in FTP server?

  • Thread starter Thread starter thomasc
  • Start date Start date
T

thomasc

Hello,
This is about VB.NET 2003.


I am writing a code that implements FTP client using wininet.dll.
What I want to do is to check if a specified directory exists on the
FTP server connected.

Just like <System.IO.Directory.Exists("C:/testFolder")> returns 'true'
or 'false',
is there any way to check if a folder exists on FTP server?

I can use only VB.NET 2003 and cannot use other versions.
Thank you very much in advance for your help.
 
Back
Top