File transfer
When ITNCM - Base is working with a device, it can be setup to use streaming to get information from the device, and to make changes to the device.
File transfer can be used by setting the different flags in the RAD. ITNCM - Base will allow the set up of almost any type of configuration that is required.
The following is an example of how FTP mode works.
- Log into a device and send commands to the device to send information to, or get information from ITNCM - Base. The FileTransfer GR is used for information about what ftp/tftp server to use. The server can reside on the same system as ITNCM - Base or not.
- ITNCM - Base locates the FileTransfer GR by looking into the same realm as the device, then moving up the tree until the top realm is reached.
- If a FileTransfer GR is not found then ITNCM - Base retrieves the required information from the database.
- If the file transfer server is a different server, ITNCM - Base moves the file as needed to get the information from ITNCM - Base to the file transfer server and then to the device.
The following is an example of a FileTransfer GR.
<?xml version="1.0" encoding="UTF-8"?><ftp encrypted="false">
<!--
<entry>
<name>ftpInfo</name>
<host>ftphost.example.com</host>
<username>icosuser</username>
<password value="current">foo</password>
<password value="previous">bar</password>
<password value="alt">foo</password>
<path>/pub/change.me</path>
<mode>active</mode>
</entry>
-->
<!--
<entry>
<name>altFtpInfo</name>
<host>ftphost.example.net</host>
<username>icosuser</username>
<password value="current">foo</password>
<mode>active</mode>
</entry>
-->
Note: ftpInfo and altFtpInfo are
the only two names that can be given to an FTP resource. The GUI may
accept other names, but they will not function correctly.
Write access file transfer files
In order for a device to put a file via TFTP on a server, there must already be a writable file of the same name on the server. To create this file, put the file there using FTP. However, since most FTP servers make the files users put there readable but not writable, the file transfer server configuration must be changed as follows, on Linux.
- Add the following line to /etc/vsftpd.conf.
local_umask=000
- Restart the FTP daemon or have
xinetd
reload its configuration.