Introduction
This document describes the process to use SSH File Transfer Protocol (SFTP) and Secure Shell (SSH) with Speech Connect to perform a bulk upload of spoken name files.
Background Information
Currently, the user is instructed to upload the Names file to the Speech Connect server, but the message does not instruct the user how to accomplish this task.
Perform a Bulk Upload of Spoken Name Files
In order to perform a bulk upload, follow these steps:
- Open an SSH session to the Speech Connect and log in with scadmin. In order to do this, use an SSH client such as putty.exe.
- After log in, enter:
cd /tmp
mkdir name_files
cd name_files
- Next, enter sftp username@host in order to connect to an SFTP server, such as:
sftp scadmin@10.1.1.1.
- Enter your password when prompted.
- Ensure the recorded names are located in the SFTP home directory.
- At the prompt, enter get *. The Name files are downloaded.
Note: If there are additional files in the SFTP directory (other than voice files), you may need to be more specific than the wild card used in the above example. The example copies all files in the SFTP home directory.
- Enter Exit to close the sftp connection.
Note: Log in to the server as root. If you are currently logged into a Speech Connect SSH session as SCAdmin, enter su <enter> and you are prompted for a root password. Then you become the root user.
- Next, continue with Step 3: Performing a Bulk Upload of Spoken Name Files.Log in to the server as the root user, and enter:
cd /tmp/name_files
chown seaa *
chgrp seaa *
cp /tmp/name_files/* /opt/cisco/speechconnect/ssp/prompts/seaa/1/spoken_name
Related Information