survivor: Ftpd Check Module

SURVIVOR: `ftpd` Check Module
About `ftpd` Dependencies Arguments Description Examples
About `ftpd`
basics |
Module Type | Scheduler | Remote
check | Yes | No
syntax |
         module ftpd {
           login <string>
           password <password>
           filename <string>
           [passive <boolean>]
           [port <number>]
         }
### Dependencies Perl Modules `Net::FTP` ### Arguments
Name | Type | Value
login | string | Username to use.
password | password | Password to use.
filename | string | Full path to file to be retrieved.
passive | optional boolean, default is false | Whether or not passive-mode FTP should be used.
port | optional number between 1 and 65535, default is 21 | Port number on which FTP server is listening.
1. ### Description The `ftpd` module downloads the file requested in order to determine if the FTP server being contacted is returning expected results. ### Examples Anonymous FTP requests require a `login` of "ftp" or "anonymous" and an email address to be used as the `password`:
            module ftpd {
              login ftp
              password survivor@
              filename /welcome.msg
            }
2. An example using "anonymous" and passive mode:
            module ftpd {
              login anonymous
              password survivor@foo.university.edu
              filename /pub/linux-2.4/linux-2.4.18.tgz
              passive true
            }
3. Authenticated FTP requests require a `login` and `password` that are valid on the FTP to be checked:
            module ftpd {
              login bob
              password secretCode
              filename /pub/dist/survivor-0.9.0.tgz
              port 8021
            }
$Date: 2006/11/19 19:06:17 $ $Revision: 0.8 $ | keywords filename login passive password port