![]() |
Version 5.1 |
|||||||||||||||||||||||||||||||
|
|
The Trivial File Transfer Protocol allows client computers to work with files stored on remote servers. A computer running a TFTP client application sends UDP request packets to the server computer. These packets contain the name of the file to retrieve and the transfer mode. In return, the Server computer sends a UDP packet with a block of file data. If the file is larger than one block, then the client computer sends an ACK (acknowledgement) packet, and the Server sends the next block of file data in response.
The CommuniGate Pro TFTP module supports relevant Internet standards (RFCs).
The TFTP module records in the System Log are marked with the TFTP tag.
If the specified file name starts with the slash (/) or tilda (~) symbol, the file name should contain at least one non-leading slash symbol. The string between the leading special symbol and that slash symbol is interpeted as an Account name, and the string after that slah symbol - as the name of the file to retrieve from the File Storage of the specified Account.
The TFTP module tries to retrieve the specified files on behalf of the tftpuser
Main Domain Account. By default, this Account does not exist, so the TFTP clients cannot retrieve
anything from the private File Storage subdirectories.
To allow TFTP clients to access these subdirectories, create the tftpuser Account, and
grant it the Unlimited File Storage Access right.
The addressed Account must have the WebSite Service enabled to allow TFTP clients to retrieve files from its File Storage.
Examples:
TFTP filename parameter | Addressed file |
file1.dat | file1.dat in the Default File Storage |
dirA/file1.dat | file1.dat in the dirA subdirectory of the Default File Storage |
/john/file1.dat ~john/file1.dat | file1.dat in the Account john File Storage |
/john/dirB/file1.dat ~john/dirB/file1.dat | file1.dat in the dirB subdirectory of the Account john File Storage |
/john@domain1.dom/dirB/file1.dat ~john@domain1.dom/dirB/file1.dat | file1.dat in the dirB subdirectory of the Account john@domain1.dom File Storage |