Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

where is Net/FTP?

Posted on 2000-04-23
4
Medium Priority
?
224 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
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 200 total points
ID: 2746873
Perl for windows can u find at www.activestate.com 
Just click at Activeperl.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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…
Six Sigma Control Plans

824 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