FTP ls -1??

Is there any way to ls -1 a FTP folder to not include any files, just folders?

ie:

should be

I just want to list the actual folders (no files) so can put in a choose list for a user.

Do I need to run some more applescript to filter? How?

Thanks.

Model: PowerBook
Browser: Safari 416.13
Operating System: Mac OS X (10.4)

If you’re filenames don’t contain colons, then you could try:

ls -1p | grep '/'

Bruce,

Thanks, but I cannot enter grep commands via FTP… perhaps a limitation of my ISP’s FTP server!

Randy