Tags:
create new tag
view all tags

Question

When attaching a file located within 'C:\Documents and Settings' using IE5.0, the upload succeeded and provided a usable link, but the text under 'File Attachment' in the attachment table had extra text, taken from the original file name, e.g. 'on QoS parameters' using the example in the attachment'.

I tracked this down to the TwkData element in the page:

	<TwkFilePath> <TwkData value="C:\Documents and Settings\rdonkin\My Documents\Message on MPLS QoS parameters.txt"> </TwkFilePath>
Deleting the spaces in this pathname prevented this odd display bug.

I'm using an old version of Twiki, but if anyone wants to try this with a more recent version the attachment part of the page is attached here (with spaces in filename just for fun!).

  • TWiki version: 01 May 2000
  • Web server: Apache
  • Server OS: Linux

-- RichardDonkin - 09 May 2001

Answer

This has been fixed in the latest Beta, 15 Mar 2001, see attachment test below. TWiki now writes this for the invisible TwkData tag:

<TwkData value="C:\DATA\a WikiName folder\wabisabi.gif">

-- PeterThoeny - 10 May 2001

SupportStatus:
AnsweredQuestions
Topic attachments
I Attachment History Action Size Date Who Comment
GIFgif wabisabi.gif   manage 1.0 K 2001-05-11 - 06:36 UnknownUser test a folder with a WikiName
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2001-05-11 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.