• 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.

Ill be honest I wasnt sure if I should post this but this has really been annoying me lately. If the powers that be state this is the way it is and I need to deal with it, thats fine, but I wanted to at least plead my case.

Basically the attachment http format is incredibly annoying for anyone working on the cmd line.

For example the link for the BlackListPlugin.zip file is http://twiki.org/cgi-bin/viewfile/Plugins/BlackListPlugin?rev=14;filename=BlackListPlugin.zip

but if do a wget on on of the servers I want to install it on

wget http://twiki.org/cgi-bin/viewfile/Plugins/BlackListPlugin?rev=14;filename=BlackListPlugin.zip

the ; causes wget to end

Yes I know I could encapsulate it in quotes but that is annoying.

Isnt there any way to make the link so its a simple cut & paste into a cmd shell??


Hm, always thought the value separator in URLs is & not ; so shouldn't the link for downloading attached files be actually:

wget http://twiki.org/cgi-bin/viewfile/Plugins/BlackListPlugin?rev=14&filename=BlackListPlugin.zip
-- FJ


There are two answers in this.

First I am discarding this because there is an open enhancement Item2555 which addresses this exact issue.

The 2nd part of the answer is that there is an alternative to viewfile when a TWiki is not setup to have the pub dir blocked for direct access (not default).

You use a url directly to the %pubdir%.

At twiki.org the URL for blacklist plugin is

http://twiki.org/p/pub/Plugins/BlackListPlugin/BlackListPlugin.zip

You can always add a download link on your own topics with %ATTACHRUL%/filename.ext

KJL

ItemTemplate
Summary Attachment download link format annoyance
ReportedBy TWiki:Main.JohnCavanaugh
Codebase 4.0.5
SVN Range TWiki-4.1, Tue, 28 Nov 2006, build 12081
AppliesTo Engine
Component

Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-12-07 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback