OC_Files¶
-
class
OC_Files
¶ - Class for file server access
Source: lib/private/legacy/OC_Files.php#52
Constants¶
-
FILE = 1
Source: lib/private/legacy/OC_Files.php#53
-
ZIP_FILES = 2
Source: lib/private/legacy/OC_Files.php#54
-
ZIP_DIR = 3
Source: lib/private/legacy/OC_Files.php#55
-
UPLOAD_MIN_LIMIT_BYTES = 1048576
Source: lib/private/legacy/OC_Files.php#57
Properties¶
Methods¶
-
public static
OC_Files::
get
($dir, $files, $params=\null)¶ - return the content of a file or return a zip file containing multiple files
Source: Parameters: - $dir (string)
- $files (string) ; separated list of files to download
- $params (array) ; ‘head’ boolean to only send header of the request ; ‘range’ http range header
-
public static
OC_Files::
lockFiles
($view, $dir, $files)¶ Source: Parameters: - $view (
OC\Files\View
) - $dir (string)
- $files (string[] | string)
- $view (