in reply to net::ftp please

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

Replies are listed 'Best First'.
Re: Re: net::ftp please
by Anonymous Monk on Apr 18, 2001 at 04:39 UTC
    <http> <body> I made the change from NET to Net::ftp, but no luck. I think verio does not have the Net::FTP module.. and ftp.pm is not the same thing. I just wanted to make sure that i could run a simple .pl script in a browser window and expect it to work. Only other question i have is.. how do you know where the file is going to land on hard drive? That's about it.. i'll do some more reading and testing.. i wish i had my own linux server. :)

    Lisa.