Download & Extend

Override default renaming of uploaded files?

Project:File (Field) Paths
Version:7.x-1.0-beta3
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I'm wondering if there is a way to override D7's default behavior of renaming uploaded files using this module? I was hoping that the [file:original:ffp-name-only-original] token would keep a file uploaded with the same name from getting renamed (ex. test.pdf becomes test_0.pdf), but am not getting a value out of that token in my setup.

The goal in this case is to have a permalink to the latest version of a PDF report. I'm using the private filesystem in this case, so an IMCE-type solution isn't a great fit. Only workaround I've found so far is to have the user overwrite the file manually via FTP, but am hoping that there's a way to make this work for authors from within the browser.

Thanks much,

-Ben

Comments

#1

Status:active» closed (duplicate)

Marking as a duplicate of #1924686: File Field Path does not overwrite existing file but adds _0 to filename instead., where I'll probably end up making the renaming behaviour optional.

nobody click here