Anybody knows a tool/command (wget, curl etc) or a script that can download a forum attachment?
Not the whole forum page or a specific thread or a specific post.
Just a specific attachment.
The attachments that you get from this kind of links
"http://murga-linux.com/puppy/viewtopic. ... &id=123456"
How to download forum attachment from CLI? [Solved]
How to download forum attachment from CLI? [Solved]
Last edited by mavrothal on Fri 02 Jan 2015, 12:49, edited 1 time in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==
Hi mavrothal,
For me this works:
So in this solution you have to know the actual name of the attached file, in the example "pwget-spanish.tar.gz"
Maybe that is not what you are looking for. But it works
For me this works:
Code: Select all
wget -O pwget-spanish.tar.gz http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=79719
Maybe that is not what you are looking for. But it works
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]
Dunno if it's also possible with wget, but cURL can get the actual filename:
Btw, perhaps this might help as well.
Greetings!
Code: Select all
curl -O -J "http://murga-linux.com/puppy/viewtopic.php?mode=attach&id=79719"
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
LazY MAID!
LazY Puppy Murga Linux Attachment Index Downloader
http://murga-linux.com/puppy/viewtopic. ... 94&t=80768
LazY Puppy Murga Linux Attachment Index Downloader
http://murga-linux.com/puppy/viewtopic. ... 94&t=80768
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink: