Greetings...
This sounds like the exact same problem I had a while back. Same situation:
Solaris server running Perl script connecting to an NT ftp server. My
script worked properly for about 6 months, then suddenly stopped working.
Problem seemed to be in the LIST. When I would do an ls on a large
directory, it would often just stall. After a time I noticed that it would
occasionally stall even when there were only a few filenames in the
directory, so no consistency. Eventually it even stalled intermittently
during file transfers performed manually.
The best we could come up with was a problem with the two firewalls. Our
firewall admins spoke with the remote site and found out that there was a
bug when firewall 'a' tries to ftp to firewall 'b'.
If this sounds at all like yours, I would encourage you to try various
things from standard UNIX ftp client going to the remote site just to verify
it is in the Perl mod. If you already have, then sorry to waste your
time...
- Jeremy
-----Original Message-----
From: Grant Hopwood [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 20, 2000 8:51 AM
To: "Scicluna"@smtp1.ActiveState.com
Cc: [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: [Perl-unix-users] Re: FTP across platforms
-start-
> "Scicluna, Martin" <[EMAIL PROTECTED]>
>at 07/19/2000 11:08 PM
>I am experiencing intermittent hangs (resulting if FTP timeouts) when
>running a system script on a
>Solaris box that creates an FTP connection to a remote NT server. Below
is a
>simple script that was
>written to test the problem with the FTP connection on the system script.
>All this script does is create an FTP connection, log-on and then toggle
>between two remote dirs
>and prints the filenames found... and it still experiences the hangs.
>Any input would be appreciated.
>#Create a FTP handle object
>$ftp = Net::FTP->new('***.***.***.***', Timeout => 500) || die
"WARNING!Could not create FTP handle";
my $ftp = Net::FTP->new($host, Timeout => 500, Debug => 1) or die "unable
to connect\n";
And a short description of where exactly the 'hang' occurrs would help us.
Grant Hopwood.
Valero Energy Corp.
(210)370-2380
PGP Public Key: Ldap://certserver.pgp.com
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users