Lantronix SGX 5150 User Guide - Page 67

: Filesystem, File Transfer and Modification

Page 67 highlights

7: Filesystem The Filesystem page provides statistics and current usage information for the flash filesystem. From here you may format the entire filesystem.  Directories can be created, deleted, moved, and renamed. A directory must be empty before it can be deleted.  Files can be created, deleted, moved, renamed, uploaded via HTTP, and transfered to and from a TFTP server. Newly created files will be empty.  Some filesystems may contain a 'lost+found' directory. Table 7-1 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 and Modification Files can be transferred to and from the SGX 5150 device via the TFTP protocol. This can be useful for saving and restoring XML configuration files. Files can also be uploaded via HTTP. File Transfer Settings Create Upload File Copy File Move TFTP Action Local File Table 7-2 File Transfer Settings Description Type in a File or Directory name and click the Create button. The newly created File or Directory will appear above. Click to Browse... to location of the file to be uploaded via HTTP. Click Upload to upload the chosen file. Enter the Source and Destination name for file to be copied and click the Copy button. Enter the Source and Destination name for file to be moved and click the Move button. 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. Enter the name of the local file on which the specified "get" or "put" action is to be performed. SGX 5150 IoT Device Gateway User Guide 67

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129

SGX 5150 IoT Device Gateway User Guide
67
7:
Filesystem
The Filesystem page provides statistics and current usage information for the flash filesystem.
From here you may format the entire filesystem.
Directories can be created, deleted, moved, and renamed. A directory must be empty before it
can be deleted.
Files can be created, deleted, moved, renamed, uploaded via HTTP, and transfered to and
from a TFTP server. Newly created files will be empty.
Some filesystems may contain a
'lost+found'
directory.
Table 7-1
File Modification Settings
File Transfer and Modification
Files can be transferred to and from the SGX 5150 device via the TFTP protocol. This can be
useful for saving and restoring XML configuration files. Files can also be uploaded via HTTP.
Table 7-2
File Transfer Settings
File Modification
Commands
Description
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 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
Click to
Browse...
to location of the file to be uploaded via HTTP. Click
Upload
to
upload the chosen file.
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.
TFTP
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.