FTPGetDirList (Folder Listing Only)

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
CyberCitizen
Automation Wizard
Posts: 721
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

FTPGetDirList (Folder Listing Only)

Post by CyberCitizen » Wed May 08, 2013 4:56 am

Hi Guys,

Is There Anyway Using FTPGetDirList> To Get A Directory/Folder Listing?

Using D I Can Get Everything, Using L I Get A Simple List, But Includes Folders & Files.

What I Am After Is Just Folders, So I Can Have My User Select What Folder's They Want Their Files In.
FIREFIGHTER

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri May 10, 2013 7:45 am

So I think you'll need to use D and then parse through the retrieved list to pull out only folders (ignore others).
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
CyberCitizen
Automation Wizard
Posts: 721
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Post by CyberCitizen » Fri May 10, 2013 10:47 am

Hi Marcus thanks for that yes I expected that's what I have to do just wanted to see if I was missing something.
FIREFIGHTER

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