CIFS
Work on Windows shared folders (CIFS/SMB): list, create, rename and delete files and directories, upload and download files. Typical use: read or write files on a network share of the company.
cifs mkdircifs rmcifs lscifs renamecifs getcifs put

cifs mkdir <remoteDir> <jsonObject>


Description

    Create a remote directory.

Parameters

    remoteDir:   The remote directory - string - required
    jsonObject:   The JSON object information - string - required
admin
cifs mkdir "remoteDir" {cm get "demo_cm_cifs";};
mentdb
1
Used in use cases (1 recipe)

    File transfer & remote systems engineer › Bank returns over FTPS, published on the accounting share
Often used with

    cifs get  ·  cifs ls  ·  cifs put  ·  cifs rename  ·  cifs rm  ·  cm get  ·  execute  ·  ftps active

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
Used in use cases (1 recipe)

    File transfer & remote systems engineer › Bank returns over FTPS, published on the accounting share
Often used with

    cifs get  ·  cifs ls  ·  cifs mkdir  ·  cifs put  ·  cifs rename  ·  cm get  ·  execute  ·  ftps active

cifs ls <remoteDir> <filter> <jsonObject>


Description

    Show a remote directory.

Parameters

    remoteDir:   The remote directory - 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\" }
Used in use cases (1 recipe)

    File transfer & remote systems engineer › Bank returns over FTPS, published on the accounting share
Often used with

    cifs get  ·  cifs mkdir  ·  cifs put  ·  cifs rename  ·  cifs rm  ·  cm get  ·  execute  ·  ftps active

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
Used in use cases (1 recipe)

    File transfer & remote systems engineer › Bank returns over FTPS, published on the accounting share
Often used with

    cifs get  ·  cifs ls  ·  cifs mkdir  ·  cifs put  ·  cifs rm  ·  cm get  ·  execute  ·  ftps active

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
Used in use cases (1 recipe)

    File transfer & remote systems engineer › Bank returns over FTPS, published on the accounting share
Often used with

    cifs ls  ·  cifs mkdir  ·  cifs put  ·  cifs rename  ·  cifs rm  ·  cm get  ·  execute  ·  ftps active

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
Used in use cases (1 recipe)

    File transfer & remote systems engineer › Bank returns over FTPS, published on the accounting share
Often used with

    cifs get  ·  cifs ls  ·  cifs mkdir  ·  cifs rename  ·  cifs rm  ·  cm get  ·  execute  ·  ftps active