I'm looking for a way inside Perl, of treating an ftp connection (and possibly other protocols such as rsync or webdav), as if it is a file system. Has anyone done this?
I've looked at IO::All::LWP, which goes a long way. This provides a nice abstraction for individual files - that's if you can entertain using IO::All's somewhat unauthodox interface. But, what I am after is the ability to handle directories, i.e. globbing (which I::A::L doesn't appear to do).
If I'm going to write this, I imagine offering a tied file handle / dirhandle interface. I have existing code, which uses glob and open which could use this directly.
Any pointers, clues or help would be appreciated.
--
Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)
In reply to Abstraction of FTP as a file system by rinceWind
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |