in reply to I Need to Use Net::FTP but its not working?

I doubt it's the root of the problem, but I'd take a look at the use lib "/perl/lib/net" line. I haven't read that much on win32 perl-ing, but that looks like it should be C:\perl\lib\net or something... You might be loading a different version of Net::FTP than you're expecting.

Your code *should* be working. (Then again, you're on NT)

Here's a working ex: (hostname changed)

(Note, almost exactly from the documentation for Net::FTP @CPAN):

#!/usr/bin/perl -w use Net::FTP; $ftp = Net::FTP->new("myhost", Debug => 0); $ftp->login("anonymous",'test@user.com') || die "Could not log in\n"; $ftp->cwd("/pub/incoming") || die "Could not cd\n"; $ftp->get("that.file") || die "Could not find the right file\n"; $ftp->quit;