Solved

where is Net/FTP?

Posted on 2000-04-23
4
205 Views
Last Modified: 2010-03-05
For the following line -

use Net::FTP;

I got a copiling error of cannot find Net/FTP in bla bla search directories.  I looked in the lib/, and found Net/ only has servent file referencing ftp, but not as an object.  I'm using UNIX/Salarias.  My real purpose is to run this pl script from a HTML file residng on Windows enviornment.  What's the perl compiler and pm's that I need?

Thanks
0
Comment
Question by:columbiaRiver
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 16

Expert Comment

by:maneshr
ID: 2743851
what is the exact error??

you can get the various modules you need from CPAN's 1410 modules distributions at..

http://www.cpan.org/modules/01modules.index.html

Net::FTP file name is libnet-1.0703.tar.gz
0
 
LVL 3

Expert Comment

by:jyu_88
ID: 2746028
perl's CPAN module supposed to handle download/install automatically.


shell/prompt# perl -mCPAN -e shell [enter]
at CPAN prompt, you can just type  'install Net::FTP'. This will download, compile and install Net::FTP module or any module for that matter. For first time run, it will ask a few questions to set things up.

be wary about security, etc...though
0
 

Author Comment

by:columbiaRiver
ID: 2746097
What about the Perl interpreter for Window or DOS?  Where do I get that?
0
 

Accepted Solution

by:
govinje earned 50 total points
ID: 2746873
Perl for windows can u find at www.activestate.com 
Just click at Activeperl.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Existing perl code to be changed for ftp to sftp handling 14 264
Perl, group, sort, count question 6 158
Rename file based on contents in the file? 3 107
Perl output collect 7 70
On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question