in reply to Net::FTP Question.

Your call to login uses the variable $password which you have not set. I fail to see how you could possibly be connecting at all with this code unless your servers accept anonymous access. Or is the code above not the code you are running?

Addendum: Perhaps an SSCCE would be helpful?

Replies are listed 'Best First'.
Re^2: Net::FTP Question.
by FeistyLemur (Acolyte) on Aug 13, 2015 at 18:25 UTC

    It is, but I typed the declarations manually and I made a typo on "my $pass" which should be "my $password". The actual non example code does indeed run properly, save for the behavior I'm asking about.