in reply to trouble while ftping through Perl Script

[...]this is working code with some modified names.
I doubt that very much, as you declare two lexical variables with the same name (or one variable twice, depends on how you see the problem ,), namely $gsRemoteMachine.

You should RTFM of your ftp-client and/or RTF ftp-protocol-rfc (rfc 959).

Maybe an introductory perl-text would also prove helpful, you could check the Tutorials...

But why would you want to avoid to use a proven core(?) module?

regards,
tomte


An intellectual is someone whose mind watches itself.
-- Albert Camus