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!

cPanel API V2 (Fileman - Extract)

Discussion in 'cPanel Developers' started by Visad182, Jan 2, 2019.

  1. Visad182

    Visad182 Member

    Joined:
    Sep 8, 2017
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Website Owner
    Hello,

    It's been 5 months since cPanel API V2 Fileman (op = extract) is not working.

    Are you planing to fix it ?

    Thanks
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    481
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @Visad182

    It seems to have worked without issue for me:

    Code:
    cpapi2 --user=myuser Fileman fileop op=extract sourcefiles=backup-1.2.2019_11-51-58_myuser.tar.gz doubledecode=1
    cpanelresult:
      apiversion: 2
      data:
        -
          dest: ~
          output:
    <<snip backup extraction details>>
          result: 1
          src: /home/myuser/backup-1.2.2019_11-51-58_myuser.tar.gz
      event:
        result: 1
      func: fileop
      module: Fileman
      postevent:
        result: 1
      preevent:
        result: 1
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Visad182

    Visad182 Member

    Joined:
    Sep 8, 2017
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Website Owner
    Dude you compare a command line with PHP wtf ?
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,262
    Likes Received:
    481
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    @Visad182


    The "wtf" is unnecessary, and out of place here. The API is the same in either instance. Furthermore you did not specify how you were running the API. For tips on how to open a forums thread that's beneficial for you as well as allows us to better assist you please read the following: Guide To Opening An Effective Forums Thread
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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