Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: File transfer abstractor?

by Corion (Patriarch)
on Mar 09, 2010 at 15:45 UTC ( #827572=note: print w/replies, xml ) Need Help??

in reply to File transfer abstractor?

I fear the closest is LWP - it supports HTTP(s), FTP and local files. I think that SOAP at one time supported other transfer mechanisms, but the same time I looked into it, I shuddered away from it, fearing for my sanity. There is Filesys::Virtual, but it's relatively cumbersome to implement a new filesystem for it. There also is File::Fetch, but that mostly does what LWP does, except with other tools.

I guess the best approach would be to write a ssh: protocol plugin for LWP.

Cool! Upon looking at lwp protocol, I find there is LWP::Protocol::cpan, which should allow PM-style cpan:// URLs to work within LWP.

Replies are listed 'Best First'.
Re^2: File transfer abstractor?
by suaveant (Parson) on Mar 09, 2010 at 17:17 UTC
    I forgot to mention I wanted more than just fetching... ls, rename, rm, mv, perms..... that FileSys::Virtual looks like the idea. Thanks.

                    - Ant
                    - Some of my best work - (1 2 3)

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://827572]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2022-09-26 06:18 GMT
Find Nodes?
    Voting Booth?
    I prefer my indexes to start at:

    Results (117 votes). Check out past polls.