I think I understand how to use Net::FTP. I am calling a Perl script from a Unix script. If the Perl script cannont connect to the server, I think it sends back a return code to the Unix script. Does anyone know how to capture the return code in the Unix script?