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
--
KeithHelfrich - 17 Oct 2006
Answer
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..
wget -U "xxx" http://twiki.org/p/pub/Plugins/FormPlugin/FormPlugin.zip
--
KeithHelfrich - 24 Sep 2008