|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
||||
|
||||
|
trying to connect to FTP site
Hi again
![]() Does anyone know of a command in perl that, when trying to connect to a FTP site, forces the script to keep trying until a connection is made, rather than it just quitting when a connection fails? Thanks in advance for any suggestions Mel ![]() |
|
#2
|
||||
|
||||
|
Perhaps something like this (keeps trying every 5 seconds):
Code:
my $ftp
until ($ftp = Net::FTP->new("somehost.blah.com", Debug => 0)) {
sleep 5;
}
|
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > trying to connect to FTP site |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|