# Documentation VISION (VAPI) : Configuration Interface

|  | Documentation VISION (VAPI) |  | Last update : 04/12/20
| FILE INTERFACE |

Summary
Préfixe de l'interface | Fi
Nombre de fonctions | 7
Description | Set of functions to manage files

Prototype | long cdecl FiFileExist(char* file)
Paramètres | file: filename of the file to test against presence
Retour | Non zero if file exists
Description | Self explanatory
Remarques |
Version VAPI | 1.09 or more

Prototype | long cdecl FiFolderExist(char* folder)
Paramètres | folder: folder to test against presence
Retour | Non zero if folder exists
Description | Self explanatory
Remarques |
Version VAPI | 1.09 or more

Prototype | long cdecl FiCopyFile(char* src, char* dst)
Paramètres | src: name of source file dst: name of destination file
Retour | Zero if success
Description | Copies source file to destination file. Folder for destination must exist (see next function if you wish to create all intermediate folders)
Remarques |
Version VAPI | 1.09 or more

Prototype | long cdecl FiCopyFileR(char* src, char* dst)
Paramètres | src: name of source file dst: name of destination file
Retour | Zero if success
Description | Copies source file to destination file and create any intermediate folder if required.
Remarques |
Version VAPI | 1.09 or more

Prototype | long cdecl FiMoveFile(char* src, char* dst)
Paramètres | src: name of source file dst: name of destination file
Retour | Zero if success
Description | Moves source file to destination file.
Remarques |
Version VAPI | 1.09 or more

Prototype | long cdecl FiCreateFolder(char* path)
Paramètres | path: path to create
Retour | Zero if success
Description | Self explanatory
Remarques | Returns success (0) if folder already exists
Version VAPI | 1.09 or more

Prototype | long cdecl FiCmpFiles(char* f1, char* f2)
Paramètres | f1: name of first file f2: name of file to compare to
Retour | 1 if files are equal
Description | Self explanatory
Remarques |
Version VAPI | 1.09 or more

|  | Documentation VISION (VAPI) |  |
Télécharger la doc | FILE INTERFACE |