INNOV-AI

Innovation and Research from Réunion Island, France

Back   Home

FX - CIFS @ Protocol @ MentDB Weak

> Start the server
> (or start the server for the first time (embedded mode - H2 Database))
> (or start the server for the first time (remote mode - MySQL 8 Database))
> Open the MentDB Weak Editor

CIFS
cifs mkdircifs rmcifs lscifs renamecifs getcifs put

cifs mkdir <remoteDir> <jsonObject>


Description

    Create a remote directory.

Parameters

    remoteDir:   The remote dir - string - required
    jsonObject:   The json object information - string - required
admin
cifs mkdir "remoteDir" {cm get "demo_cm_cifs";};
mentdb
1

cifs rm <remoteFileDir> <jsonObject>


Description

    Delete a remote file or directory.

Parameters

    remoteFileDir:   The remote file or directory - string - required
    jsonObject:   The json object information - string - required
admin
cifs rm "file.txt" {cm get "demo_cm_cifs";};
mentdb
1

cifs ls <remoteDir> <filter> <jsonObject>


Description

    Show a remote directory.

Parameters

    remoteDir:   The remote dir - string - required
    filter:   The file filter - string - not required
    jsonObject:   The json object information - string - required
admin
cifs ls "sharedFolder" ".*.*" {cm get "demo_cm_cifs";}
mentdb
{ \"data\": [ \"[\n \\"filename.txt\\",\n \\"1\\",\n \\"2023-08-06 06:03:04\\"\n]\" ], \"columns\": [ \"filename\", \"isDirectory\", \"lastModified\" ], \"table\": \"FILES\" }

cifs rename <remoteFileDir> <newName> <jsonObject>


Description

    Rename a remote file or directory.

Parameters

    remoteFileDir:   The remote file or directory - string - required
    newName:   The new name - string - required
    jsonObject:   The json object information - string - required
admin
cifs rename "file1.txt" "file2.txt" {cm get "demo_cm_cifs";};
mentdb
1

cifs get <remoteFile> <localFile> <jsonObject>


Description

    Download a file.

Parameters

    remoteFile:   The remote file - string - required
    localFile:   The local file path - string - required
    jsonObject:   The json object information - string - required
admin
cifs get "file1.txt" "/Users/user/Desktop/file2.txt" {cm get "demo_cm_cifs";};
mentdb
1

cifs put <localFile> <remoteFile> <jsonObject>


Description

    Upload a file.

Parameters

    localFile:   The local file path - string - required
    remoteFile:   The remote file - string - required
    jsonObject:   The json object information - string - required
admin
cifs put "/Users/user/Desktop/file1.txt" "file2.txt" {cm get "demo_cm_cifs";};
mentdb
1
start: 2026-02-02   end: 2026-02-02   v_start: 401   v_end: