Evil013 Posted June 5, 2006 Share Posted June 5, 2006 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.Examplec:\ftp\ contains 10 directories. c:\ftp\pic1c:\ftp\pic2etc..c:\ftp\pic3Each 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 seePic 1 Pic 2Pic 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.Thanks Quote Link to comment https://forums.phpfreaks.com/topic/11217-listing-ftp-dir-and-displaying-info/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.