cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays

How to configure FreeFTPD for Unified Communications

87240
Views
36
Helpful
24
Comments

*** NOTE ***: FreeFTPD is not the official FTP tool due to several limitations, however it is a fairly simple to configure software that works great when testing CallManager storage configuration for Billing Servers, Disaster Recovery backups, or manual file get operations from CLI. Please refer to the following documents in case of running into troubles: CSCsm21349 / CSCsi30530 / CSCsr76880


In this example I will use CallManager as the client:

  1. Install FreeFTPD and accept the message that prompts you if you want to generate the security keys near the end. The software wil also ask if you want to run the software as a Windows service, you can either accept or deny as it won't have any impact on this procedure.
  2. Make sure FreeFTPD is running by checking the icon tray, its the one with the hand holding a folder:tray.jpg
  3. At the main Window, you will probably see the services stopped. That's ok for nowmain-stop.jpg
  4. On the left side, click on Users
  5. Create a new user and choose "Password stored as SHA1 hash" at the Authorization field
  6. Fill in the user name (Login) and password, and choose the folder where you would like your user to have its home directory. That directory, which in my case is C:\Documents and Settings\willy\Desktop\ftp, will be represented as a slash ("/"), since it is the root directory for user willy in my configuration. When pointing to " / " from an FTP client, you are telling the system to go look into the FTP, and the FTP server will know based on the user specified also in the client, that the folder looked for is C:\Documents and Settings\willy\Desktop\ftp. Also check the  boxes if you want the user to have just SFTP, FTP or both services available. Hit the Apply button.
    users.jpg
  7. Click on Logging and then on Log event checkbox. The path to the logs will be enabled in case you need to review connection attempts or directory listings
  8. Click on the FTP option at the left and enable the service by clicking Start button. *** NOTE ***: if by any chance you receive an error message stating the IP Address is already in use, make sure that:
    1. No other service is running and listening on the same IP and port
    2. There are no duplicate instances of FreeFTPD. If so, open Task Manager and kill all instances, then start it just once (It will probably appear on the icon tray without any other indication its running)
  9. Do the same if you would like to run the SFTP services. The default settings on these windows will usually work fine

    dual.jpg

  10. Hit the Apply & Save button
  11. Go to CallManager Administration interface for DRS operations, click on Backup > Backup Device > Add New
  12. Fill in the fields as in the screen shot backup-dev.jpg , the Server name is the IP Address of the Windows workstatino where FreeFTPD was installed and configured, finally click on Save.
  13. If you get the error: Update failed : Unable to access SFTP server or SFTP server too slow to respond.Please make sure the login credentials and path are correct., it might be due to an unexistent user (configured at the FTP Server itself), or because of connectivity problems. At that point, review the logs configured in step 7.
  14. The message Update successful will show if the device was added successfully.

In the case of Disaster Recovery backups, the server will only use SFTP for file integrity verification accross the network, that way we can be sure the resulting files will be usable.success.jpg

Comments
PT18
Beginner

Thanks Jose.

Tiberie Kirijas
Beginner

Thanks Cameron! Worked flawlessly! Though I suspected it would work at first :D

jposato01
Community Member

Great stuff Cameron. Thank you!

arpit.ar
Beginner

Nice explaimation 

Can freeFTPd be installed on windows server 2012 R2 

Hi Jose Mendez,

Thanks for your effort,

Kindly note that FreeFTPd program installed, and FTP working fine.

but if I need to start SFTP I have an ERROR says: Server Certificate required. Please provide one in Certificate property.

Please, I need your assist to avoid this error.

ramiz.shaikh1
Beginner

I am Having same issue. Freeftpservice is in stopping status. How did you resolve it?

Tiberie Kirijas
Beginner

Hi all, if you have issue with Free FTPd, you can try the free Core FTP mini-sftp server. I use both SFTP servers throughout years.

adsantos83
Beginner
Good Morning! a Everyone... I found that processes in windows must be stopped from some commands in the form of an admin: 1.- The connection is verified. -> netstat -nao | find / i ": 21" and ": 22" 2.- The process with the connection is finished. -> tasklist / fi "PID eq # No. Process" 3.- It ends correctly. -> taskkill / PID #No. Process / F. I hope I have supported something! Regards!!!
Sam1786
Cisco Employee

Hi @Ahmed Salah Mohamed Hussein

 

I know its late..but this could help some one else too..

 

U can go for the 'host key'》》 find 'RSA key' 》》 ckick 2048 bits》》 'generate new' 》》slect the folder where freeftp is installed》》click ok》》》thn 'test key'

 

Now u are good to go..