*** 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:
- 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.
- Make sure FreeFTPD is running by checking the icon tray, its the one with the hand holding a folder:
- At the main Window, you will probably see the services stopped. That's ok for now
- On the left side, click on Users
- Create a new user and choose "Password stored as SHA1 hash" at the Authorization field
- 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.
- 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
- 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:
- No other service is running and listening on the same IP and port
- 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)
- Do the same if you would like to run the SFTP services. The default settings on these windows will usually work fine
- Hit the Apply & Save button
- Go to CallManager Administration interface for DRS operations, click on Backup > Backup Device > Add New
- Fill in the fields as in the screen shot , the Server name is the IP Address of the Windows workstatino where FreeFTPD was installed and configured, finally click on Save.
- 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.
- 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.