in reply to Re: Net::FTP problem
in thread Net::FTP problem

This is an absolutely classic example of the need for use strict. It would have flagged your problem immediately and precisely. Don't code without it.