The get function is established to get a file or folder information.
var infoFile = file.get("myFile.txt");
var infoFolder = file.get("myFolder");
Calling | Returning |
---|---|
file . get ( path ) | FileInfo |
file . get ( path , withoutFolderLength ) | FileInfo |
Parameters | Type | Description |
---|---|---|
path | String | The relative file or folder path to the storage. |
withoutFolderLength | Boolean | A flag to get folder size or not. The default value is false. |