Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice