Jump to content


Photo

Listing FTP Dir. and displaying info


  • Please log in to reply
No replies to this topic

#1 Evil013

Evil013
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 05 June 2006 - 06:06 AM

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.

Example

c:\ftp\ contains 10 directories.

c:\ftp\pic1
c:\ftp\pic2
etc..
c:\ftp\pic3

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.

Thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users