Go to primary content
Oracle® Communications PMAC User's Guide
Release 6.6
E93272
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

Uploading files to PMAC via sftp

There at two methods to upload files to PMAC:
  • Using sftp from any server that connects to PMAC's IP address.
  • Installing the file on PMAC as a software image.

This procedure covers the sftp method. For a procedure to install the file as a software image, see Adding a software image.

  1. Enter the following command from the machine with the file you want to upload:

    sftp pmacftpusr@<ip_address>

    where <ip_address> is the IP address of the PMAC server.

    The message Connecting to <ip_address> is returned and a password prompt appears.

  2. Enter the appropriate password.
    The sftp> prompt is returned.
  3. At the sftp> prompt, enter the following command:
    put <filename>
    where <filename> is the file to upload.
    The following message is returned:
    Uploading <filename> to /home/smacftpusr/<filename>
  4. Enter the following command to exit the sftp session and return to the command prompt:
    quit
  5. Enter the following commands on the PMAC server to verify that the file is uploaded:
    cd /var/TKLC/smac/image/isoimages/home/smacftpusr/
    ls

The file is now uploaded onto the PMAC server. If you intend to install the file into the PMAC software image repository, the file is already in a location where PMAC will find it. The home directory of the pmacftpusr is part of the standard search path that PMAC uses.