constant FILE_EXISTS_RENAME
- 7.x drupal-7.x/includes/file.inc FILE_EXISTS_RENAME
- 6.x drupal-6.x/includes/file.inc FILE_EXISTS_RENAME
Flag for dealing with existing files: Appends number until name is unique.
Related topics
23 uses of FILE_EXISTS_RENAME
- FileCopyTest::testExistingRename in drupal-7.x/
modules/ simpletest/ tests/ file.test - Test renaming when copying over a file that already exists.
- 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::testExistingRename in drupal-7.x/
modules/ simpletest/ tests/ file.test - Test renaming when moving onto a file that already exists.
- FileSaveDataTest::testExistingRename in drupal-7.x/
modules/ simpletest/ tests/ file.test - Test file_save_data() when renaming around an existing file.
- FileSaveUploadTest::testExistingRename in drupal-7.x/
modules/ simpletest/ tests/ file.test - Test renaming when uploading over a file that already exists.
File
- drupal-7.x/
includes/ file.inc, line 51 - API for handling file uploads and server file management.
Code
define('FILE_EXISTS_RENAME', 0)