Transfer of files from CUCM to SFTP server:
If we want to transfer files from CUCM FTP to local drive then we can do this from CUCM CLI. We may need to do this to analyze few files like Ringlist.xml or list.xml etc.
Set up a SFTP server first. You can use any FTP/SFTP software but I am using FTPd which you can download from Tools section.
SSH to CUCM Server:
admin:file get tftp ?
file get tftp file-spec [options]
file-spec mandatory file to transfer
options optional reltime months|weeks|days|hours|minutes timevalue
abstime hh:mm:MM/DD/YY hh:mm:MM/DD/YY
admin:file get tftp /Desktops/320x212x12
Please wait while the system is gathering files info …done.
Sub-directories were not traversed.
Number of files affected: 9 (there were 9 files in that dir)
Total size in Bytes: 303557
Total size in Kbytes: 296.44238
Would you like to proceed [y/n]? y
SFTP server IP: 192.168.1.14
SFTP server port :
User ID: ash
Download directory: / (this is local drive SFTP)
The authenticity of host ‘192.168.1.14 (192.168.1.14)’ can’t be established.
RSA key fingerprint is f4:84:a9:53:17:ba:89:2f:cd:e3:51:4e:23:b1:4f:9a.
Are you sure you want to continue connecting (yes/no)? yes