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:

lib/private/legacy/OC_Files.php#110

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:

lib/private/legacy/OC_Files.php#385

Parameters: