Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| vendors:cisco:uc:cvp:ftps [2025/06/20 11:06] – created gerardorourke | vendors:cisco:uc:cvp:ftps [2025/06/20 17:39] (current) – [Install & Configuration of FTPS Server on IIS] gerardorourke | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== CVP Call Studio | + | ====== CVP Call Studio |
| + | |||
| + | This " | ||
| - | This is very similar to the stock FTP element. | ||
| FTP often fails security scans - even if its locked down, uses an anonymous user and is only use for uploading Audio files. | FTP often fails security scans - even if its locked down, uses an anonymous user and is only use for uploading Audio files. | ||
| + | To get around this issue - FTPS is a similar solution, which can run on the CVP Servers IIS Servers without any 3rd party applications and uses TLS to encrypt the FTP traffic, i.e. FTPS is FTP over TLS. | ||
| + | Note - FTPS is NOT the same protocol as SFTP. | ||
| + | |||
| + | Configuration of this custom Call Studio FTPS element is the very similar to the stock FTP element, but does lack some of the functionality such as allowing different usernames, passwords and port at a per host level. | ||
| + | This FTPS element allows you to set multiple servers, a username/ | ||
| + | It can also be configured to delete the original file if it has been copied successfully to all servers (just like the FTP_Client element can do). | ||
| + | |||
| + | i.e. in most instances - it can be a simple drop-in replacement of the standard FTP_client element with this custom FTPS_Client element. | ||
| + | |||
| + | ==== Install & Configuration of FTPS Server on IIS ==== | ||
| + | |||
| + | * Install FTP Server Role | ||
| + | * Server Manager -> Add Roles -> Server Roles -> Web Server -> FTP Server (check) | ||
| + | * Configure FTPS | ||
| + | * Right Click on Default Web Site and Add FTP Site Publishing | ||
| + | * Select Radio button " | ||
| + | * Select Authentication " | ||
| + | * After the above is configured - go into "Edit Bindings" | ||
| + | * To allow FTP have the correct rights to upload files to the IIS Web Server - add the user " | ||
| + | ==== JAR Files ==== | ||
| + | * {{ : | ||
| + | * the custom jar file which contains the FTPS_Client | ||
| + | |||
| + | This custom FTPS jar file utilities Java Class from **org.apache.commons.net.ftp.FTPSClient** and hence requires the commons-net.jar to be loaded - however this JAR already included by default with Cisco CVP and so does NOT need to be added to the VXML server, Here is where it is located by default: | ||
| + | {{: | ||
| + | |||
| + | For info, the Apache Commons Net library contains a collection of network utilities and protocol implementations. Supported protocols include Echo, Finger, FTP, NNTP, NTP, POP3(S), SMTP(S), Telnet, and Whois. | ||
| + | |||
| + | |||
| + | <alert type=" | ||
| + | |||
| + | |||
| + | ==== Configuration of Call Studio ===== | ||
| + | * purplepi-ftps-v1.jar file must be uploaded to the C: | ||
| + | * {{: | ||
| + | * Restart Call Studio | ||
| + | * Where to find the new custom element? | ||
| + | * {{: | ||
| + | * How to configure the FTPS_Client Element? | ||
| + | * {{: | ||
| + | |||
| + | ===== Where to place the JAR file ===== | ||
| + | |||
| + | You can upload globally for all CVP VXML applications can use this element, i.e. common library. This means you do NOT need to include these this JAR file for each application that requires it OR you can upload at the Call Studio application level as detailed below. Do one OR the other! | ||
| + | |||
| + | ==== Upload to Common Lib ==== | ||
| + | |||
| + | Upload to C: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | After copying the JAR to this location - you do not need to restart the CVP VXML Server. | ||
| + | Simply run the **updateCommonClasses.bat** | ||
| + | |||
| + | === Note on running updateCommonClasses.bat === | ||
| + | Below is an extract from the CVP VXML and Call Studio End User Guide. | ||
| + | Reference: https:// | ||
| + | |||
| + | === extract from CVP document === | ||
| + | When performing an application update, all the data and Java classes related to an application will be reloaded. | ||
| + | Java classes placed in the common folder of VXML Server are not included in the application update. VXML | ||
| + | Server provides a separate administrative function to update the common folder. | ||
| + | There are a few items to note about this function: | ||
| + | |||
| + | * The update affects all applications that use classes in the common folder, so running this function could affect applications that have not changed. Therefore, take precaution when running this function. | ||
| + | * The update affects all classes in the common folder, whether they were changed or not. This is usually not a issue unless those classes contain information in them that reloading would reset (such as static variables). | ||
| + | * Due to the fact that this function reloads classes that affect all applications, | ||
| + | * Changes are immediate, and are not done. Because this potentially affects all applications, | ||
| - | To get around | + | ==== OR at a Application Level ==== |
| + | * If you prefer NOT to have this JAR file in the common folder, include it in the application lib folder of any application that uses this FTPS_Client element. | ||
| + | *Example: {{: | ||
| - | Configuration of the Call Studio is the very similar to the stock FTP element (but does lack some of the functionality (i.e. allowing different ports on different servers and different usernames / passwords). | ||
| - | This FTPS element It allows you to set multiple servers, all will use TCP Port 990 to connect to the FTPS Server using implicit FTPS. | ||
| - | <code java> | + | ===== Source ===== |
| + | <file java FTPS.class> | ||
| /* | /* | ||
| * Author: Gerry O' | * Author: Gerry O' | ||
| Line 293: | Line 363: | ||
| } | } | ||
| - | </code> | + | </file> |