I am using the filefield module as part of a cck form to have a user upload files to a directory. I would like to be able to give the user a warning message if the filename already exists in the directory, with the option to overwrite the file. Is this something I can accomplish through filefield or do I need to write a custom module? I'm a real novice with PHP scripting, so any help would be greatly appreciated.

Comments

quicksketch’s picture

You can probably make FileField add this ability, but it would be a difficult change to make. The UI and file juggling you'd have to do doesn't seem like anything that would be trivial. I don't provide support on how to write custom code in the issue queue, and now that FileField has been moved into Drupal core (as File module), this sort of functionality wouldn't be added to the project any way.

quicksketch’s picture

Status:Active» Closed (won't fix)