FreePBX Module: TFTP Manager

Over the past few months work on development of a FreePBX module for managing Cisco IP Phones has been started. In the process of doing this, as well as through some research on existing FreePBX feature request tickets; a TFTP management module has been requested. As a result of this, the development of the Cisco module has been momentarily sidelined as a a TFTP module was created. The intent is that this module will be used to support the Cisco modules TFTP file management.

The first version(s) of the module are planned to have very limited and basic functionality. A new feature request ticket was created in the FreePBX Trac system (Ticket #1032) several years ago and to date does not seem to have been addressed. Having a need for this functionality ourselves, it seemed prudent to take on this smaller application prior to moving forward with the Cisco phone project.

In accordance with the feature request ticket, the aim of the module is to provide two basic interaction and a viewer. The interaction being the ability to add a file and to delete a file. Further planning has already started for expansion of the module to include more extensive file operations and folder control.

TFTP Manager in FreePBX v2.X:

A big thanks to the folks at and to Cory LaViska for creating the very elegant PHP File Tree object used by the viewer.

In addition to addressing the needs of the logged ticket with FreePBX for version 2.X, our TFTP module is being developed for version 3 of FreePBX as well. We are planning to commit both modules to the FreePBX repository once all functionality is stable.

IMPORTANT: Ensure the TFTP server has been installed with its root folder as /tftpboot. Provide the webserver write access to the /tftpboot folder as well.

Development of the TFTP Manager module for (formerly FreePBX v3) has resumed with the initial release of the software from

Leave a Comment »

Tyler Winfield:
June 7th, 2010 4:47 pm

Core functionality is pretty much done. a bit of polishing to do and some install tasks to hopefully work in and we should be ready to make a download available.

Tyler Winfield:
June 8th, 2010 1:52 pm

the TFTP Manager is now available for FreePBX 2.X. The module will be available here for a few days before it is uploaded to the FreePBX Trac system

Michael H:
October 14th, 2012 6:28 am

Hi, thanks for your work on this. im new to linux and asterisk so could you please tell me how i can change permissions so the webserver can access the tftpboot folder? Thanks in advance!!

Tyler Winfield:
October 16th, 2012 9:47 am

@Michael H
run “chown -R apache:apache /tftpboot”, where ‘apache:apache’ is the user and group your webserver runs as and ‘/tftpboot’ is the location of the tftp storage location

January 4th, 2013 10:06 pm

I was able to install the TFTP manager but when I try to use it nothing happens. I can click on TFTP manager but if i click the refresh or add symbols nothing happens as if they are not buttons. I can scroll throught the files as needed but if i click on any of the files is send me back to the freePBX status screen. I also didnt fully understand the apache:apache portion on the chmod. i thought it was suppose to be root:FreePBX but im probably wrong. Can you help. Thanks

July 11th, 2013 8:09 am

What license is this project released under? Is anyone free to take this code and develop it further?

July 25th, 2013 8:12 am

How do I install this ?

jon boy:
September 24th, 2013 9:31 am

hey iv installed you tftp MANAGER on the latest freepbx but the buttons to add files dont work is there a fix for this
regards in advance

Roger Willcocks:
February 8th, 2014 9:17 pm

SCRIPT5009: ‘init_tftp_file_tree’ is undefined
config.php, line 2 character 4

Caused by the fact that the function is called before the script is loaded.

If you want then use DEV tools to run it manually (plus the init_tftp_jquery();
it works.

Given that it’s using jquery stuff, shouldn’t it use document ready?

Roger Willcocks:
February 8th, 2014 9:37 pm


$(function() {

March 6th, 2014 6:12 am

How do I install this? I’m new on Linux

March 23rd, 2014 1:28 pm

How can i install this module into asterisk using command line

Leave a Comment


Trackback URL