http://qs321.pair.com?node_id=171933


in reply to Net::FTP problem

Are you running ActiveState perl? If you are, you should try re-installing libnet (instructions below). I've found that most of the libnet modules don't work well out of the box from ActiveState.

To install libnet:
1. run 'ppm'
2. type 'install libnet'
3. answer 'y' to when it askes you if you want to install
4. after a bit, it will ask you if you want to install again (it detected a previous version) answer yes
5. you can accept the defaults from here on out (unless you want to change something)

Replies are listed 'Best First'.
Net::FTP problem
by Anonymous Monk on Jun 05, 2002 at 18:04 UTC
    Yes. I am running ActiveState perl and I tried to run ppm (like you said), but it said that Version 1.07 of 'libnet' is already installed. Remove it, or use 'verify --upgrade libnet' So, I tried the 'verify'. it took about a minute to run, but when i tried the ftp program again, it ended up with the same result as before. Michael
      Can you post your code exactly? (I know this isn't it because you are missing a ')' at line 8) Also, post any errors that you are receiving. It may also help to turn on debuging to see if there is a network problem.

        Ya beat me to it! That is the error. I took his snipet, added var info, made the correction and was able to ftp to a machine. So unless there is something else going on; code would be good here