We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Support Web>AttachWithDiffName (08 Feb 2003, TWikiAdmin)
Tags:
create new tag
, view all tags

Question

  1. Is there any way to have the "Attach" form upload a file with a name different from the local filename? Could this be done with a different attachment form?
  2. Is there any way to rename an attachment w/o having to upload it again (after renaming it on the local machine)?
  3. Is it possible to have several files uploaded in one go? I am thinking of a form which presents a (prestructured) table
    • asks for several local files to be named (Browse)
    • allows additional text to be edited into other table fields
    • after upload presents the table with links to the uploaded files in the correct places

It should also either

    • warn/barf if the filename already exists, or
    • be able to auto-generate unique filenames for the uploaded files to avoid clashes. Optional displaytext could be user-provided if the generated filenames are deemed to be too obscure

Any hints/pointers how to go about this would be appreciated.

  • TWiki version: 01 Dec 2001
  • Perl version: 5.6
  • Web server & version: Apache 1.3
  • Server OS: Linux
  • Web browser & version: N/A
  • Client OS: N/A

-- MathiasKoerber - 29 Dec 2002

Answer

Topic revision: r2 - 08 Feb 2003 - 08:58:30 - TWikiAdmin
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback