Link to home
Start Free TrialLog in
Avatar of sunghkim
sunghkim

asked on

how to FTP using MacPerl or From Win95?

Hi, I would like to know how to FTP either using MacPerl or Win95 platform.  I tried with ftp.pl but with no success. Please Help. Thanks.
ASKER CERTIFIED SOLUTION
Avatar of b2pi
b2pi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sunghkim
sunghkim

ASKER

I just decompressed libnet. what else should i do? i put the files to Net folder and i tried to run your sample program but it saids "can't locate Net/Config.pm in @INC at perl/lib/net/FTP.pm.  

Thanks.
Did you read the README file?

Take the files out of the folder where they are. Since you're on
Win95, uncompress libnet-1.0605.tar.gz into the /tmp directory. cd to
the directory where the files actually are.  Read the README file.
Read any other pertinent documents. As they'll tell you, type in (the
name of your make may differ, but if you're using VC++, it's nmake):

perl Makefile.PL
nmake
nmake test
nmake install


I did perl Makefile.PL and I think it is installed correctly. but when i try to run that sample program, it says "Global symbol "%NetConfig" requires explicit package name at C:\perl\lib/Net/FTP.pm line 57.

what 's that mean?

Thanks for your help b2pi.
You have to follow the above steps explicitly (well, there are
shortcuts you can take, but don't)

1.) unpack libnet to a temp directory
2.) go to the temp directory
3.) run

    perl Makefile.PL

4.) run

    nmake

5.) run

    nmake test

6.) run

    nmake install




I did perl Makefile.PL and I think it is installed correctly. but when i try to run that sample program, it says "Global symbol "%NetConfig" requires explicit package name at C:\perl\lib/Net/FTP.pm line 57.

what 's that mean?

Thanks for your help b2pi.
there is no nmake.
after perl makefile.pl, it creates "makefile" file and i can't find any file called nmake.
You don't have a compiler?
no compiler. is there another way?
1.) Do you own the machine (i.e. can you install a new perl?)
2.) Which version of perl do you currently have?
no compiler. is there another way?
i have version 5.005_02 built for MSWin32-x86-object. Is there a version that already have libnet installed?
Thanks for the help.
This is activestate?  There's supposed to be some magical way to download modules directly for activestate, but I don't know what it is.  The standard binary distribution (the GURU version) comes with libnet.
where can i get it? can you give me the link?
thanks a lot.
thanks.
I found it and i tried it and it works!!!
thanks a lot.