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

16 thoughts on “FreePBX Module: TFTP Manager”

  1. 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!!

    1. @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

  2. 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

  3. 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

  4. 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?

  5. Go to Admin
    Module Administration
    Upload Module
    Upload the file (in tgz format)
    Then you will have to click on it and then click install
    Then click process
    Then click apply at the top in red
    It’s installed.

  6. I’m running an elastix pbx box. Can I install this there? Or can you direct me to the right piece of code?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>