About ftpd
|
basics
|
|
syntax
|
module ftpd {
login <string>
password <password>
filename <string>
[passive <boolean>]
[port <number>]
}
|
Dependencies
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.
|
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
}
- 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
}
- 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
|