10: Maintenance and Diagnostics Settings

File Modification

The XPort Pro Lx6 allows for the creation and removal of files on its filesystem.

 

Table 10-2 File Modification Settings

 

 

File Modification

Description

Commands

 

rm

Removes the specified file from the file system.

 

 

touch

Creates the specified file as an empty file.

 

 

cp

Creates a copy of a file.

 

 

mkdir

Creates a directory on the file system.

 

 

rmdir

Removes a directory from the file system.

 

 

format

Format the file system and remove all data.

 

 

File Transfer

Files can be transferred to and from the XPort Pro Lx6 via the TFTP protocol. This can be useful for saving and restoring XML configuration files. Files can also be uploaded via HTTP.

 

Table 10-3 File Transfer Settings

 

 

File Transfer Settings

Description

Create

Type in a File or Directory name and click the Create button. The newly

 

created File or Directory will appear above.

 

 

Upload File

Browse to location of the file to be uploaded.

 

 

Copy File

Enter the Source and Destination name for file to be copied and click the

 

Copy button.

 

 

Move

Enter the Source and Destination name for file to be moved and click the

 

Move button.

 

 

Action

Select the action that is to be performed via TFTP:

 

Get = a “get” command will be executed to store a file locally.

 

Put = a “put” command will be executed to send a file to a remote

 

location.

 

 

Local File

Enter the name of the local file on which the specified “get” or “put” action is

 

to be performed.

 

 

Remote File

Enter the name of the file at the remote location that is to be stored locally

 

(“get’) or externally (“put”).

 

 

Host

Enter the IP address or name of the host involved in this operation.

 

 

Port

Enter the number of the port involved in TFTP operations.

 

 

XPort® Pro Lx6 Embedded Device Server User Guide

49

Page 49
Image 49
Lantronix LX6 manual File Modification Settings, File Transfer Settings