Tags:
create new tag
view all tags

Question

Is there a quick & easy way to grab TWikiDotOrg FileAttachments from the command line on my server?

I often try to WGET a new plugin using the link location copied from twiki.org and then running wget {URL}.

For example: to wget the new TWikiKoalaSkin.tgz from KoalaSkin I run

wget http://twiki.org/cgi-bin/viewfile/Plugins/KoalaSkin?rev=37;filename=TWikiKoalaSkin.tgz

and the resulting file on my server is:

KoalaSkin?template=oopsaccessdenied;def=no_such_attachment;param1=viewfile;param2?=

Notice the oopsaccessdenied in the file name.

Is there a quick & easy way to grab TWikiDotOrg FileAttachments from the command line ?

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SuSE Linux 9.3 Pro
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Plugins

-- KeithHelfrich - 17 Oct 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Sorry, we block scripted access to TWiki scripts on twiki.org for performance reasons. Please access the packages via the pub URL instead. The download links in the queries point to the direct URLs. In your case, use this link:

wget http://twiki.org/p/pub/Plugins/KoalaSkin/TWikiKoalaSkin.tgz

E.g. on twiki.org, the PUBURL is /p/pub

-- PeterThoeny - 17 Oct 2006

thanks very much, this will be greatly appreciated ...

-- KeithHelfrich - 19 Oct 2006

Hi Peter, this seems to not be working any longer (after the server upgrade?)..

The link I'm trying is:

wget http://twiki.org/p/pub/Plugins/VotePlugin/VotePlugin.tgz

-- KeithHelfrich - 20 Sep 2008

Use:

wget -U "xxx" http://twiki.org/p/pub/Plugins/VotePlugin/VotePlugin.tgz
-- ArthurClemens - 20 Sep 2008

that did it, thanks Arthur! now I'm off to wget one of your plugins.. smile

wget -U "xxx" http://twiki.org/p/pub/Plugins/FormPlugin/FormPlugin.zip

-- KeithHelfrich - 24 Sep 2008

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-09-24 - KeithHelfrich
 
  • 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.