[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Regarding Net::FTP



At 7:39 PM +0000 5/14/00, Sveinbjorn Thordarson wrote:
>Hi again,
>
>Sorry to bother your with all this, but I'm learning to use Perl for FTP
>and such.   I'm interested in writing code that contacts a webserver and
>finds out what kind of OS the webserver is running on, and what kind of
>webserver it is.  Is there are way to do this?  Net::FTP apparently
>doesn't support the FTP commands to do it.


Nor is it meant to, since Net::FTP doesn't do HTTP.  Web servers do 
HTTP, not FTP.

The module you want is called LWP (or libwww-perl).  It works under 
MacPerl.  An ancient version that might be enough for what you want 
even comes with MacPerl.

>
>Sveinbjorn Thordarson
>
># ===== Want to unsubscribe from this list?
># ===== Send mail with body "unsubscribe" to macperl-request@macperl.org

-- 
--
Paul Schinder
schinder@pobox.com

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org