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
4 thoughts on “Transfer of Files from CUCM FTP”
this was a big help thank you
I was using msftpsrvr.exe as SFTP server from this web page.
But I always got this error:
Download directory: /
“Invalid download directory specified.”
Until I tried with FTPd, it works well. That’s funny ’cause last time FTPd was the faulty program and msftpsvr.exe worked well.
I supose whenever I get that error, try with different sFTP servers.
Thank you. Huge help synchronizing a new secondary TFTP server