• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6805: Ability to save attachments with modified names

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine upload script Enhancement Confirmed   patch  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


Feature proposal at TWiki:Codev.UserSpecifiedFilenamesForAttachments.

This is not strictly a bug report, since the documentation already warns us that the filename argument (in the upload script) is deprecated. However, it used to work in TWiki 4, but has ceased to work in TWiki 5, and is causing us major headaches. We allow many users to upload attachments for various objects, and we would like to provide a prefix to those file names to make sure that attachments belonging to different objects, but having the same name, do not overwrite one another. The implementation in TWiki 5 seems to take into account that multiple files may be uploaded, but no longer allows them to be renamed. The rename script also does not allow attachments to be renamed. So we are at an impasse.

We would like to enhance the upload script to allow users (using the HTTP POST) to submit new names for the attachments. This should not break any existing usage, but would give us the old functionality, we so badly need.

We shall submit an enhancement of the upload script, for your review and inclusion into the mainstream.

-- TWiki:Main/DipuDeshmukh - 2011-09-07

Sounds good on enhancing the upload script. Could you please post a proposal with spec at TWiki:Codev.TWikiFeatureProposals ?

-- TWiki:Main.PeterThoeny - 2011-09-07

Summary Ability to save attachments with modified names
ReportedBy TWiki:Main.DipuDeshmukh
Codebase ~twiki4, 5.1.0, 5.0.2
SVN Range TWiki-5.1.0, Sat, 20 Aug 2011, build 22128
AppliesTo Engine
Component upload script
Priority Enhancement
CurrentState Confirmed


TargetRelease patch

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2011-09-15 - GeorgeTrubisky
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback