Innov-AI     Services     Supporters     Contact     About    
CIFS

All remote protocols.

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
[]

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




© 2012 - 2023