Nakamura, Hisashi wrote:
> I want to write a script which performs FTP function using Win32:Internet.
> The function of the script will be sending files to several remote servers
> one by one.
> The problem is that when the connection to the first server failed, the
> program stopped and doesn't move on to the connection to the next server.
> How can I solve this problem?

1) I would suggest using Net::FTP in preference to Win32::Internet since
it's more portable and you'll get more help for it.

2) You can remove all dies from the script and if there are dies coming
from modules, you could eval the calls to the modules and trap the dies
that way.  Then you can determine what to do based on the error and
continue your processing or move on to the next server.

-- 
  ,-/-  __      _  _         $Bill Luebkert   ICQ=162126130
 (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to