Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Net::FTP (Score:2, Informative)

    To do so, I'm planning on wrapping an eval block around the offensive code, and checking $@ to see if the call 'dies.'

    Does this sound like a good approach?

    There's no rule that says you have to stop the program if one file transfer fails, so yeah, that's how you can do it. Remember to include $ftp->message in the error message. Does a command line FTP of the same file to the same site work?