Forgive me if this is obvious to you, but AFAIK there is not a module called Net::FTP; there are several modules called Net::FTP::SomethingOrOther, and there is one called Net::FTPServer. Also, in your
use statement you need to get the capitalisation right.
use Net::FTPServer; will work (so long as your ISP has the module) but
use net::FTPServer; won't.
Once you're sure of the precise definition of the module you want, a conclusive way to check whether the module is available is to insert the
use statement into a script that works, and see if that breaks it.
If you find it's *not* there, then in principle you can install it from CPAN into your own web space. You'll need to put
use lib 'your/path/and/directory/'; at the start of the script, to tell perl where to look for the module.
My ISP doesn't, as it happens, support Net::FTP::, though they are *very* Perl friendly and all round good value (it's a non-profit set-up whose declared aim is to support open-source software) -
http://www.uklinux.net. It's a UK outfit. I have also heard lots of good things about
http://www.csoft.net/ in the US - if anyone has a module as standard, I'd think it wd be them. And of course our own
jcwren has a pretty fab offer available for monks.
§
George Sherston
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.