I am searching for clairity in my pursuit of Perl wisdom. In particular, What exactly does the "Timeout" option in the "new (HOST [,OPTIONS])" Constructor in Net::FTP wait for?
In the description, at Perldoc.com. It gives a generic definition:
"Timeout - Set a timeout value (defaults to 120)"
Is it an idle timeout, a login auth timeout, or what?
I have a software application that is in constant development, and there are many users in remote locations testing it. To keep all the test machines in sync with the latest development version, I've written a perl script using Net::FTP which compares their files against files on my "update" machine, which replaces any files that have been updated, on a daily basis.
The Problem I'm seeing, is that sometimes a file transfer will fail in different places after a pause that I am attributing to a what looks like timeout value somewhere in the process. I have increased all of my server timeouts, and it is still terminating prematurely sometimes on slow connections. So I'm wondering if the "Timeout" option in Net::FTP will help. Any ideas?
In reply to Net::FTP Timeout by cknowlton
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |