Is it possible to force the file upload in the file manager to overwrite any existing file with the same name?
I would like to use it to update a stats PDF file every month. The file used(linked) in many pages on the site. It would be great if I could upload a new file using the file browser and overwrite last months file.
I would like to use it to update a stats PDF file every month. The file used(linked) in many pages on the site. It would be great if I could upload a new file using the file browser and overwrite last months file.
Re: Overwrite File Names when uploading
Re: Overwrite File Names when uploading
Re: Overwrite File Names when uploading
In:
fckeditor/editor/filemanager/browser/default/connectors/php
there is a commands.php file. Towards the end of the file there is an if statement that does the checking/renaming. Comment part of that code out as follows:
I was able to upload a few files that had the same name without checking/error. HTH
Re: Overwrite File Names when uploading
fckeditorInstance.UploadOverwrite = true;
Re: Overwrite File Names when uploading