Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

list_dir


Version 9.2.0

 

Description

List CUBIRD directory or its sub-directory.

This interface is only supported from CUBRID 9.2.0.

Request Json Syntax

Key Description
task task name
token token string encrypted.
path the directory path to list. The root path is "$CUBRID/"

 

Request Sample

{
   "task":"list_dir",
   "token":"4504b930fc1be99bf5dfd31fc5799faaa3f117fb903f397de087cd3544165d857926f07dd201b6aa",
   "path": "/"
 }

 

Response Json Syntax

Key Description
task task name
status execution result, success or failed.
note if failed, a brief description will be given here
dir the list of sub-directory of the list path.
file the list of files of the list path.
path the list path

Response Sample

{
   "dir" : [
      {
         "group" :[
            "java",
            "bin",
            "demo",
            "compat",
            "conf",
            "locales",
            "databases",
            "var",
            "tmp",
            "log",
            "jdbc",
            "lib",
            "share",
            "include",
            "msg"
         ]
      }
   ],
   "file" : [
      {
         "group" : [ "README", "CREDITS", "csql.err", "COPYING" ]
      }
   ],
   "note" : "none",
   "path" : "/",
   "status" : "success",
   "task" : "list_dir"
}
comments powered by Disqus
Page info
viewed 628 times
translations en
Author
posted 8 months ago by
cheeray
Contributors
updated 8 months ago by
View revisions
Share this article