Manage files
Digi TransPort User Guide
780
USB support
Most TransPort routers come equipped with USB ports that you can use to connect Mass Storage
Devices (MSDs) such as external hard drives or flash-memory pen drives. All the files on the USB
device are listed under the
USB Directory Listing
heading on the
Administration > File
Management > FLASH Directory
page.
WARNING!
For the TransPort WR31, the USB port is for use in a normal location only, not a hazardous
location.
Note
The USB storage device must be formatted using the FAT16 or FAT32 file system.
When the USB storage device is first inserted into the router, the operating system looks for a file
named
autoexec.bat
, and if found, executes it. Other batch files can be executed by pressing the
reset button one or more times. The batch file to be executed must be called
pb<n>.bat
, where
<n>
is the number of times the reset button is to be pressed to execute the file.
SD memory card support
Some TransPort routers are available with internal SD memory card, the drive letter assigned to
this card is
s:
. To access the SD memory using an FTP client, the subdirectory assigned is
sdmmc
.
The SD card can be used in the same way as USB MSDs. The SD card is internal and cannot be
removed.
Batch control commands
Any batch file can contain one of the following two control lines:
ERROR_EXIT
or
ERROR_RUN
. If
ERROR_EXIT
is specified in a batch file, any commands run after that point in the file will cause
the termination of the batch file if that command causes an error; for example, attempting to
delete a file that does not exist.
ERROR_RUN
can be used to return the operation to default,
which is to continue the execution of the batch file commands.