1

Before I reinvent the wheel, is there any module like File::Find that works via ftp?

brian d foy
  • 129,424
  • 31
  • 207
  • 592
Matteo Riva
  • 24,728
  • 12
  • 72
  • 104

1 Answers1

2

You can try Net::FTP::Recursive.

Always search CPAN to see if you find modules for what you want.

brian d foy
  • 129,424
  • 31
  • 207
  • 592
ghostdog74
  • 327,991
  • 56
  • 259
  • 343
  • I'm confused about this module, the documentation is not very clear to me. I'm trying the `rdir()` method and it seems kind of pointless. Why does it need a filehandle to write to? `yoursub` gets passed a string containing the usual `ls -l` formatted output and it does **not** dive into subdirectories. What's the point? I was looking for something that scanned the tree and allowed the user's subroutine to do something with what's found, maybe passing it a hashref with infos about the file... or maybe I'm doing something wrong. – Matteo Riva Nov 25 '09 at 21:26