Closed (won't fix)
Project:
FileField
Version:
6.x-3.7
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2012 at 16:17 UTC
Updated:
7 Sep 2012 at 21:52 UTC
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
Comment #1
quicksketchYou 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.
Comment #2
quicksketch