constant FILE_EXISTS_ERROR
- 7.x drupal-7.x/includes/file.inc FILE_EXISTS_ERROR
- 6.x drupal-6.x/includes/file.inc FILE_EXISTS_ERROR
Flag for dealing with existing files: Do nothing and return FALSE.
Related topics
13 uses of FILE_EXISTS_ERROR
- FileCopyTest::testExistingError in drupal-7.x/
modules/ simpletest/ tests/ file.test - Test that copying over an existing file fails when FILE_EXISTS_ERROR is specified.
- FileCopyTest::testNormal in drupal-7.x/
modules/ simpletest/ tests/ file.test - Test file copying in the normal, base case.
- FileDirectoryTest::testFileDestination in drupal-7.x/
modules/ simpletest/ tests/ file.test - This will test the filepath for a destination based on passed flags and whether or not the file exists.
- FileMoveTest::testExistingError in drupal-7.x/
modules/ simpletest/ tests/ file.test - Test that moving onto an existing file fails when FILE_EXISTS_ERROR is specified.
- FileMoveTest::testNormal in drupal-7.x/
modules/ simpletest/ tests/ file.test - Move a normal file.
File
- drupal-7.x/
includes/ file.inc, line 61 - API for handling file uploads and server file management.
Code
define('FILE_EXISTS_ERROR', 2)