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!

parsing output of Ftp::listftpwithdisk()

Discussion in 'cPanel Developers' started by ayik, Feb 19, 2009.

  1. ayik

    ayik Member
    PartnerNOC

    Joined:
    Oct 7, 2004
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    151
    I want to get FTP users which dont have a type either "main FTP Account" or not "log Account".

    Ftp::listftpwithdisk is likely the API i need. but i don't know how to parse the output. i always get any type of ftp users

    TIA
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The main FTP account will always have the same username as the cPanel account. The "log account" will always be that username with _logs appended to it.
     
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