Flag used by file_prepare_directory()
drupal_chmod($uri, $mode = NULL) Sets the permissions on a file or directory.
file_unmanaged_save_data($data, $destination = NULL, $replace = FILE_EXISTS_RENAME) Saves a file to the specified
file_valid_uri($uri) Determines whether the URI has a valid scheme for file API operations.
file_unmanaged_prepare($source, &$destination = NULL, $replace = FILE_EXISTS_RENAME) Internal function
file_unmanaged_move($source, $destination = NULL, $replace = FILE_EXISTS_RENAME) Moves a file to a new location
drupal_mkdir($uri, $mode = NULL, $recursive = FALSE, $context = NULL) Creates a directory, optionally creating
file_prepare_directory(&$directory, $options = FILE_MODIFY_PERMISSIONS) Checks that the directory exists
drupal_basename($uri, $suffix = NULL) Gets the filename from a given path.
drupal_rmdir($uri, $context = NULL) Removes a directory.
Page 1 of 5