| To check FTP dir you can use the following method  Dim dir_exists, boolean OnErrorGoTo NO_DIR
 FTPDir ....
 Set dir_exists, True
 GoTo DIR_LOGIC
 NO_DIR: Set dir_exists, False
 DIR_LOGIC: OnErrorStop
 ... your processing logic here
 There is no clear way to handle files and directories because FTP protocol does not provide such support. You can use FTPFileExists to verify file status. It should fail for directories and succeed for valid files.  : I'm using v3.3.4 of 24x7 scheduler. : Is there a way to check if a directory
 : on a FTP server exists ? Can DirFTP handle this ?
 : How to difer files and directories ?
 : Robbert 
 
 |