Hi,
This might sound like a stupid question, but I am hoping that before running the script you tried ftp'ing to the host and that worked right. Here's more info on a similar problem - Net::FTP cannot connect in Windows 2003. Which version of Perl are you using? On which flavour of Windows?
For a more informative error, add $^E after the $! statement in die (this is given in the node mentioned above)
Perlpetually Indebted To PerlMonks
Win 7 at Work. Living through it....Linux at home. Loving it.
In reply to Re: copy a file to a remote system
by perl514
in thread copy a file to a remote system
by hperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |