Transfer of Files from CUCM FTP

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 ?
Syntax:
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
match regex
recurs

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 [22]:
User ID: ash
Password: ******

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
………
Transfer completed.

Advertisement

4 thoughts on “Transfer of Files from CUCM FTP

  1. I was using msftpsrvr.exe as SFTP server from this web page.
    http://www.coreftp.com/server/

    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.
    Thanks you.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: