File system
Upload and download files
TX54 User Guide
963
Transfer a file from the TX54 device to a remote host
To copy a file from the TX54 device to a remote host, use the
command as follows:
> scp host
hostname-or-ip
user
username
remote
remote-path
local
local-path
to
remote
where:
n
hostname-or-ip
is the hostname or ip address of the remote host.
n
username
is the name of the user on the remote host.
n
remote-path
is the location on the remote host where the file will be copied.
n
local-path
is the path and filename on the TX54 device.
For example:
To copy a support report from the TX54 device to a remote host at the IP address of 192.168.4.1:
1. Use the
system support-report
command to generate the report:
> system support-report /var/log/
Saving support report to /var/log/support-report-0040D0133536-22-03-03-
10:16:23.bin
Support report saved.
>
2. Use the
scp
command to transfer the report to a remote host:
> scp host 192.168.4.1 user admin remote /home/admin/temp/ local
/var/log/support-report-00:40:D0:13:35:36-22-03-03-10:16:23.bin to remote
[email protected]'s password: adminpwd
support-report-0040D0133536-22-03-03-10:16:23.bin
>
Upload and download files using SFTP
Transfer a file from a remote host to the TX54 device
This example uploads firmware from a remote host to the TX54 device with an IP address of
192.168.2.1
, using the username
ahmed
:
$ sftp [email protected]
Password:
Connected to 192.168.2.1
sftp> put TX54-22.2.9.85
Uploading TX54-22.2.9.85 to TX54-22.2.9.85
TX54-22.2.9.85
100%
24M
830.4KB/s
00:00
sftp> exit
$
Transfer a file from the TX54 device to a remote host
This example downloads a file named
test.py
from the TX54 device at the IP address of
192.168.2.1
with a username of
ahmed
to the local directory on the remote host:
Содержание TX54
Страница 1: ...TX54 User Guide Firmware version 22 2 ...
Страница 190: ...Interfaces Bridging TX54 User Guide 190 ...
Страница 293: ...Hotspot Hotspot configuration TX54 User Guide 293 ...
Страница 332: ...Hotspot Show hotspot status and statistics TX54 User Guide 332 ...
Страница 584: ...Services Simple Network Management Protocol SNMP TX54 User Guide 584 4 Click Download ...
Страница 1069: ...Command line interface Command line reference TX54 User Guide 1069 reboot Reboot the system Parameters None ...