Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    15

    Default parsing output of Ftp::listftpwithdisk()

    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. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by ayik View Post
    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
    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.

Similar Threads & Tags
Similar threads

  1. HTML Parsing in suPHP
    By ukagg in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 10-09-2009, 07:42 PM
  2. parsing php into html
    By monckey100 in forum Database Discussions
    Replies: 10
    Last Post: 09-18-2009, 07:12 PM
  3. XML Parsing Issues
    By jfor007 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-30-2007, 11:50 AM
  4. Awstats parsing problem...
    By Jers-Web in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-18-2004, 01:49 PM
  5. PHP not parsing on new server
    By sbrad in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 03-01-2002, 12:19 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube