Jump to content


This topic is now archived and is closed to further replies.


Listing FTP Dir. and displaying info

Recommended Posts

What I am trying to do is create a script that when run will connect to an FTP site, Read each directory, search for a .jpg file then output the information.


c:\ftp\ contains 10 directories.


Each of those directories might include a sub directory. I want it to go through, make a list of all the main directory's then download a jpg file.

So on a webpage I would see

Pic 1
Pic 2
Pic 3

When I click Pic 1, i can point it to a page to display the .jpg's downloaded in each directory.

Any help would be greatly appriciated.


Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.