Skip to content

containerCreate

TA40 edited this page Jun 15, 2019 · 3 revisions

FileCrypt.containerCreate(apikey,name,mirrors,password=None,captcha=None,allow_cnl=None,allow_dlc=None,allow_links=None,groupid=None)

This function allows you to create an filecrypt.cc protected folder.

Arguments:

apikey : Your ApiKey from FileCrypt

name: name of your folder

mirrors: mirrors in a tripple listed list. This way you can determine the mirrors and the backups.

          [
            [
              "mirror_0_link1",
              "mirror_0_link2"
            ],
            [
              "mirror_0_backup1_link1",
              "mirror_0_backup1_link2"
            ]
          ],
          [
            [
              "mirror_1_link1",
              "mirror_1_link2"
            ],
            [
              "mirror_1_backup1_link1",
              "mirror_1_backup1_link2"
            ],
            [
              "mirror_1_backup2_link1",
              "mirror_1_backup2_link2"
            ]
          ]
        ]

all strings in the first and second list (where the other lists should be) will be skipped

password(optional): password of your folder

captcha(optional): enable captcha? Allowed Values: 0,1

allow_cnl(optional): enable cnl? Allowed Values: 0,1

allow_dlc(optional): enable dlc? Allowed Values: 0,1

allow_links(optional): enable links? Allowed Values: 0,1

groupid: group ID of your target group

Response:

https://filecrypt.cc/docs/index.htm#api-Container-create