EasyManuals Logo
Home>Digi>Server>Connect IT 16

Digi Connect IT 16 User Manual

Digi Connect IT 16
756 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #658 background imageLoading...
Page #658 background image
File system Upload and download files
Digi Connect IT® 16/48 User Guide
658
Transfer a file from the Connect IT 16/48 device to a remote host
To copy a file from the Connect IT 16/48 device to a remote host, use the scp 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 Connect IT 16/48 device.
For example:
To copy a support report from the Connect IT 16/48 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-21-02-26-
8:04: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-21-02-26-8:04:23.bin to remote
admin@192.168.4.1's password: adminpwd
support-report-0040D0133536-21-02-26-8:04:23.bin
>
Upload and download files using SFTP
Transfer a file from a remote host to the Connect IT 16/48 device
This example uploads firmware from a remote host to the Connect IT 16/48 device with an IP address
of 192.168.2.1, using the username ahmed:
$ sftp ahmed@192.168.2.1
Password:
Connected to 192.168.2.1
sftp> put Connect IT 16/48-21.2.39.67
Uploading Connect IT 16/48-21.2.39.67 to Connect IT 16/48-21.2.39.67
Connect IT 16/48-21.2.39.67
100% 24M 830.4KB/s 00:00
sftp> exit
$
Transfer a file from the Connect IT 16/48 device to a remote host
This example downloads a file named test.py from the Connect IT device at the IP address of
192.168.2.1 with a username of ahmed to the local directory on the remote host:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi Connect IT 16 and is the answer not in the manual?

Digi Connect IT 16 Specifications

General IconGeneral
BrandDigi
ModelConnect IT 16
CategoryServer
LanguageEnglish

Related product manuals