Re: Stuck in the put function when using Net::FTP

2001-06-18 Thread Jing Cai
The output when I used Debug option is: # ./perf_mon.sh Net::FTP: Net::FTP(2.56) Net::FTP: Exporter Net::FTP: Net::Cmd(2.18) Net::FTP: IO::Socket::INET Net::FTP: IO::Socket(1.1603) Net::FTP: IO::Handle(1.1505) Net::FTP=GLOB(0x3d94d0)<<< 220 dpc_lab_ftp Microsoft FTP Service (Vers

Stuck in the put function when using Net::FTP

2001-06-05 Thread Jing Cai
Hi, Some time the perl script stuck in the put function when I use Net::FTP module. It will never come out of this function. Most time it works fine. Is there any easy way to solve this problem? I am thinking about to use $SIG(ALRM) to check the status of ftp connection and reconnect it if it