Flag used by file_prepare_directory()
file_htaccess_lines($private = TRUE) Returns the standard .htaccess lines that Drupal writes to file directories
drupal_realpath($uri) Resolves the absolute filepath of a local URI or filepath.
drupal_move_uploaded_file($filename, $uri) Moves an uploaded file to a new location.
Common file handling functions. File core/includes/
file_unmanaged_delete_recursive($path, $callback = NULL) Deletes all files and directories in the specified
drupal_unlink($uri, $context = NULL) Deletes a file.
file_destination($destination, $replace) Determines the destination path for a file.
file_ensure_htaccess() Creates a .htaccess file in each Drupal files directory if it is missing.
file_save_htaccess($directory, $private = TRUE, $force_overwrite = FALSE) Creates a .htaccess file in the given
Page 3 of 5