3.5. File Transfer

File transfers between a management computer and the file system of the host operating system can be performed using the following methods:

Downloading Files via InCenter

Files can be downloaded from InCenter using either an SCP or SFTP client. By using the default SSH port of 22, transfers will be mediated by InCenter so the only directory accessible will be /mgmtsystem/storage. This section will only show examples using SCP.

Assuming that the InCenter IP address is 192.168.23.206, the following will download all log files:

$ scp -r admin@192.168.23.206:./logs .

To download just the system.log file:

$ scp admin@192.168.23.206:./logs/system.log .

All the error files the can be downloaded with the following SCP command:

$ scp -r admin@192.168.23.206:./errors .

However, downloading the error files like this is usually not necessary because these will be included in the file generated by the techsupport command (described further in Section 17.11, The techsupport Command).

Cleaning Up Files

To manage files that have been uploaded to the InCenter server, the best method is to use SFTP. This allows files to be listed, filenames to be changed and unwanted files to be deleted.