The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ftp::delftp hook doesn't fire

Discussion in 'cPanel Developers' started by chamithlkml, Oct 12, 2014.

  1. chamithlkml

    chamithlkml Member

    Joined:
    Apr 2, 2014
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    Hi,
    I'm trying to implement the hook for Ftp::delftp. So I created a php script and placed at /usr/local/cpanel/hooks/ftp/delftp and gave chmod 755 permissions. Then executed /usr/local/cpanel/bin/register_hooks I noticed that delftp was in the list of registered hooks. But when I delete a ftp account using cPanel, it does not fire the delftp script I implemented. Please help.
    Thanks.
     
  2. chamithlkml

    chamithlkml Member

    Joined:
    Apr 2, 2014
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    It seems any of ftp hooks are not triggered by cPanel ftp functionalities.
     
Loading...

Share This Page