CheckFullpathFilenameExists
Check if filename exists for provided path and name.
Service | Operation |
---|---|
globalFileV3 | CHECK_FULLPATH_FILENAME_EXISTS |
Method Parameters
Parameter | Description |
---|---|
fullPathFilename | File cloud name in full path |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var fullPathFilename = "folder1/filename";
var globalFileProxy = bridge.getGlobalFileV3ServiceProxy();
var postResult = globalFileProxy.checkFullpathFilenameExists(fullPathFilename);
if (postResult.status == 200) {
// Success!
}
{
"service": "globalFileV3",
"operation": "CHECK_FULLPATH_FILENAME_EXISTS",
"data": {
"fullPathFilename": "folder1/filename"
}
}
JSON Response
{
"data": {
"exists": true
},
"status": 200
}