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.

Call UAPI from PHP's XMLAPI

Discussion in 'cPanel Developers' started by simonas, Feb 23, 2014.

  1. simonas

    simonas Well-Known Member

    Joined:
    Apr 21, 2013
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lithuania
    cPanel Access Level:
    Root Administrator
    Hello,

    I am stuck trying call UAPI's Fileman save_file_content with XMLAPI:

    Code:
    $output = $xmlapi->api2_query($user, 'Fileman', 'save_file_content', $arr);
    API2 has the same "Fileman" module
    Code:
    Could not find function 'save_file_content' in module 'Fileman'
    But most of the API2 Fileman module functions are deprecated.

    Can UAPI call be nicely made within XMLAPI ?

    Thank you.
     
    #1 simonas, Feb 23, 2014
    Last edited: Feb 23, 2014
  2. TimPhin

    TimPhin Member

    Joined:
    Mar 18, 2015
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    AL
    cPanel Access Level:
    Root Administrator
    I am in the same boat. Did you find a solution?
     
  3. simonas

    simonas Well-Known Member

    Joined:
    Apr 21, 2013
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lithuania
    cPanel Access Level:
    Root Administrator
    Hey,

    Nope, went to FTP solution.
     
  4. cPAndrewHodge

    cPAndrewHodge cPanel UI Developer
    Staff Member

    Joined:
    Dec 10, 2012
    Messages:
    52
    Likes Received:
    3
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page