CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Having problem with libnet

 



David4
Deleted

Apr 25, 2000, 11:33 PM

Post #1 of 2 (413 views)
Having problem with libnet Can't Post

Hi,

I'm having problem to get the Perl ftp program, libnet, to work. I've reinstalled the Perl and libnet twice and same error message each time. I get this error message:

Can't locate Net/FTP.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib.)
at c:/perl/test/example.pl line 2. BEGIN failed--compilation aborted at
c:/perl/test/example.pl line 2.


example.pl:

use Net::FTP;
$ftp = Net::FTP->new(my domain);
$ftp->login(my username, my password);
$ftp->mkdir(tryone, /test/);
$ftp->quit;


libnet:
http://www.perlguru.com/forum/Forum7/HTML/000066.shtml

Can someone try out the libnet and let me if it works.

Thanks!

David


darian
Deleted

Apr 27, 2000, 2:35 AM

Post #2 of 2 (413 views)
Re: Having problem with libnet [In reply to] Can't Post

Where did you install libnet? Your system is looking for the Net::FTP module in C:/Perl/lib and C:/Perl/site/lib

If the Net::Ftp module is not located in either of these locations you will have to make some changes either on the server end or in your installation of Libnet.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives