in reply to Re: Bad file descriptor' error with automated FTP script.
in thread Bad file descriptor' error with automated FTP script.

Note also that $! will not contain any meaningful result unless the function you have just called explicitly claims to set it. Otherwise its just the value left over from the last failed system call your code happened to make, which may or may not be related to the error you're getting.
  • Comment on Re: Re: Bad file descriptor' error with automated FTP script.