Check folder exist on the ftp server

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
kennie_n2000
Newbie
Posts: 4
Joined: Thu Feb 01, 2007 6:25 pm

Check folder exist on the ftp server

Post by kennie_n2000 » Thu Feb 01, 2007 6:34 pm

Hi

Can some some help me on how to check to see if the folder on the ftp server exist

Thanks in advance

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Thu Feb 01, 2007 8:16 pm

Use FTPgetDirList> and check FTP_RESULT. If the dir is there it will be "Success", if not it will be "450 No Files Found".

Remember that directory names are usually case sensitive on webservers.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts