in reply to ftp with perl

That code simply can not run. use strict; use warnings for a start. As it stands there are a bunch of undef vars in both subs that are local to the subs. That surely can not be how your code is actually structured.

Replace the ftp calls with prints to show the parameters that are being used. Something there is bound to be bogus

See I know what I mean. Why don't you? :)


DWIM is Perl's answer to Gödel