A couple of things to keep in mind: Perl is a case sensitive language. "NET::FTP" is not the same thing as "Net::FTP", so that line as you have it won't work. And if this is for a warez site, I'm not sure I should go on much further, but ... in the interests of showing you the joy of Free software (as in speech) and possibly turning you to the Light side of the Force ... =)

Secondly: there's a procedure for installing Perl modules, you usually can't just copy a file onto your system and have it work just like that. There are specific locations where the files go, and so forth. Fortunately, there are tools that handle a lot of this for you. There is also a wonderful site known as CPAN through which most Perl modules worth having are available.

First check to see whether Net::FTP is already installed on the system:

perl -MNet::FTP
should be sufficient for this purpose. If it isn't ...well, you could ask your hosting company (be sure to tell them that it's for managing a warez site) to install the module so everyone can use it, or you could install it into a directory where you have write privileges (usually, $HOME/perllib or something like that suffices).

For instructions on installing modules, see perldoc perlmod and perldoc perlmodinstall and do some searching on this site ('install module' is a good place to start with search terms).

HTH

Philosophy can be made out of anything. Or less -- Jerry A. Fodor


In reply to Re: net::ftp please by arturo
in thread net::ftp please by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.