LCM Software
TFTP Package v1.5

Package com.lcmsoft.tftp

Provides the classes necessary to implement a TFTP client or server.

See:
          Description

Class Summary
TftpRegistrationManager Manages registration keys for the package.
TftpRequest Represents a TFTP request.
 

Exception Summary
TftpErrorException Thrown to indicate that a TFTP error has occurred.
 

Package com.lcmsoft.tftp Description

Provides the classes necessary to implement a TFTP client or server. The package implements the TFTP protocol, as specified by RFC 1350, including support for the option extension (RFC 2347) and all standard options (RFC 2348 and RFC 2349).

The core of the package is the class TftpRequest, which handles the low level details of the protocol. The class TftpRegistrationManager manages registration keys (see below).

Since the package com.lcmsoft.tftp is shareware, it must be registered after a trial period. To enforce registration, the package allows just a limited number of transfers per run if not registered. Under special circunstances, the default number of transfers allowed may not be enough. If that is the case, special registration keys that allow more transfers can be requested by emailing us at sales@lcmsoft.com. Please include as much information as possible about your application and your requirements so that we can analyze your request.

You can get a registration key at www.lcmsoft.com/tftp.htm. Feel free to email us at sales@lcmsoft.com for any other commercial arrangement like special volume discounts, reselling, distributing or bundling the product.

If you have any questions about the package or suggestions for improvements, email us at support@lcmsoft.com. If you are having problems, please be sure you are using the latest version, since your problem may have been solved in a newer version. If the problem persists, please contact us including as much information as possible to help us address your issue, like version you are using, detailed application, sample code, error reports and the Java Platform you use.

Examples

Complete, fully commented, working examples are provided to demonstrate how to use the package. The examples are to be considered an integral part of the package documentation. They were carefully designed to demonstrate as much features as possible, acting as a programming guide. It is highly recommended to examine the examples after reading the documentation, since they can clarify obscure points that may have been left.

SimpleTftpClient.java
Most simple TFTP client possible; demonstrates how to read files from or write files to a TFTP server using just the bare minimum code needed to perform these operations
FullTftpClient.java
Demonstrates all features of the TftpRequest class, including TFTP options, regarding the implementation of TFTP clients
BasicTftpServer.java
Most simple implementation of a TFTP server; demonstrates the minimum code necessary to handle read and write requests
AdvancedTftpServer.java
Complete TFTP server, supporting all TFTP features, including option negotiation; also demonstrates how to implement custom options

References


Copyright © 2004 LCM Software
All rights reserved