cPanel API V2 (Fileman - Extract)

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,297
1,259
313
Houston
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
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,297
1,259
313
Houston
@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