|Subject:||Re: FTP CHeck Remote Directory Exist|
|Posted by:||Remy Lebeau \(Indy Team\) (email@example.com)|
|Date:||Thu, 6 Sep 2007|
"fanix" <frank.claasse…@gmail.com> wrote in message
> How can i check if a remote directory already exist
> with the TidFTP Client?
Perform a directory listing of the parent folder and see if the desired
subfolder is included in the list.
Or simply try to navigate into the folder and see if it succeeds or fails.
> Before i want to create a directory i first want to check
> if it doesnt already exist, please help....
You don't need to check it beforehand. Just create it. If it already
exists, an error will be reported which you can catch.
FTP CHeck Remote Directory Exist posted by fanix on Thu, 6 Sep 2007