FX - CIFS @ Protocol @ MentDB Weak
CIFS
cifs mkdir <remoteDir> <jsonObject>
Description
Create a remote directory.
Create a remote directory.
Parameters
remoteDir: The remote dir - string - required
jsonObject: The json object information - string - required
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.
Delete a remote file or directory.
Parameters
remoteFileDir: The remote file or directory - string - required
jsonObject: The json object information - string - required
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.
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
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.
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
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.
Download a file.
Parameters
remoteFile: The remote file - string - required
localFile: The local file path - string - required
jsonObject: The json object information - string - required
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.
Upload a file.
Parameters
localFile: The local file path - string - required
remoteFile: The remote file - string - required
jsonObject: The json object information - string - required
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
