About tftpd
|
basics
|
|
syntax
|
module tftpd {
filename <string>
[blocksize <number>]
[port <number>]
}
|
Dependencies
Arguments
Name |
Type |
Value |
filename |
string |
Full name and path of file to retrieve.
|
blocksize |
optional number greater than zero, default is 512 |
Block size in bytes. RFC 1783
compliant servers will be able to support larger block sizes,
such as 1024.
|
port |
optional number between 1 and 65535, default is 69 |
Port number on which TFTP server is listening.
|
Description
The tftpd module uses the Net::TFTP Perl module to
download the file requested in order to determine if the TFTP server
being contacted is returning expected results.
Examples
- To test downloading the file /bootimage from the server:
module tftpd {
filename /bootImage
}
- To test downloading the file /bootimage from the server
using a block size of 1024:
module tftpd {
filename /bootImage
blocksize 1024
}
- To test downloading the file /bootimage from the server
via port 8069:
module tftpd {
filename /bootImage
port 8069
}
$Date: 2006/11/19 22:05:54 $
$Revision: 0.7 $
|
keywords
blocksize
filename
port
|