Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Re: Who needs files? Net::FTP::Scalar (code)

by staunch (Pilgrim)
on Dec 13, 2001 at 08:54 UTC ( #131540=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Who needs files? Net::FTP::Scalar (code)
in thread Who needs files? Net::FTP::Scalar (code)

Sorry, I wasn't asking you to necessarily write it. Just wondering if you thought it was a good idea or not.

My skills are definitely not up to your level, but I think I'll take a crack at it tonight utilizing your module.

Thanks again.

Staunch

  • Comment on Re: Re: Re: Who needs files? Net::FTP::Scalar (code)

Replies are listed 'Best First'.
Re: Re: Re: Re: Who needs files? Net::FTP::Scalar (code)
by staunch (Pilgrim) on Dec 13, 2001 at 11:18 UTC
    Well, about 45 minutes into getting URI to properly break down an ftp URL and making it work with Net::FTP::Scalar I was digging through LWP::* trying to find an example of using $uri->path_segments(). I found a good example. In fact I found exactly what I was trying to do. Then I realized: LWP::Simple supports FTP.

    I should have known..after all this is Perl. perl -e 'use LWP::Simple qw(get); print(get("ftp://ftp.slackware.com/pub/slackware/slackware-current/ChangeLog.txt"));' Staunch

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://131540]
help
Chatterbox?
[karlgoethebier]: erix: Don T. had a bad steely tan
[karlgoethebier]: shit! dan!
[LanX]: troll?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2017-03-24 18:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (306 votes). Check out past polls.