Task #2994
Mis à jour par Matthieu Decorde il y a presque 3 ans
The binary corpus download command should be enabled only if the DownloadPermission is granted.
CORPUS the MainCorpus name (the CQP ID which is uppercased)
Possible error messages for if the admin:
* CORPUS.txm file is present: "File not found".
* CORPUS.txm present then download the .txm file is not readable: otherwise display the error message "File not readable".
* no corpus CORPUS: "Object not found".
* no permission for the CORPUS: "No permission".
The command must not produce the .txm corpus file.
CORPUS the MainCorpus name (the CQP ID which is uppercased)
Possible error messages for if the admin:
* CORPUS.txm file is present: "File not found".
* CORPUS.txm present then download the .txm file is not readable: otherwise display the error message "File not readable".
* no corpus CORPUS: "Object not found".
* no permission for the CORPUS: "No permission".
The command must not produce the .txm corpus file.