How to configure FreeFTPD for Unified Communications

Document

Dec 2, 2010 7:26 AM
Dec 2nd, 2010

*** 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

Average Rating: 5 (1 ratings)

Comments

maharris Tue, 01/08/2013 - 09:56

Do you know what the official recommendations are?  I am having trouble tracking it down.

MartinGottfried Tue, 01/08/2013 - 13:22 (reply to maharris)

Hi,

I use the standard FTP service which is a part of the IIS in the MS Win servers as well.

I have to say that both solutions are absolutely sufficient and stable for eg. billing servers.

Anyway, if you want, take look to http://www.2ring.com/ca for more info regarding our billing solution.

Regards,

Martin

muraligprt Tue, 07/09/2013 - 02:02

Im running FreeFTPd service as windows system service for CUCM backup but if logoff the server the application also quit and system service is running but the CUCM backup getting failed. Is that mandadory to run the application? without logging of the server?

hammad_shah Tue, 10/08/2013 - 00:53

hi anyone can help me out

I m running FreeFTPd service as windows system service for CUCM backup but if logoff the server the application also quit and system service is running but the CUCM backup getting failed. Is that mandadory to run the application? without logging of the server?

rwykoff Thu, 10/10/2013 - 08:16 (reply to hammad_shah)

for the FreeFTPd you can run as a system account which would keep it going after you log out, but the problem with this software is that after a while the service stops working and you need to restart the service.  This works well as a manual backup software, but not for an everyday backup software for customers.  I suggest to my customers the VanDyke VShell product as that is the cheapest solutions ($249.00) I have found and works great.  We have several clients on both, but if they can budget the money I always go with VShell. 

Actions

Login or Register to take actions

This Document

Posted December 2, 2010 at 7:26 AM
Stats:
Comments:6 Avg. Rating:5
Views:19588 Contributors:6
Shares:0

Related Content

Documents Leaderboard