Page 1 of 1

Exact download link

Posted: Fri Sep 13, 2013 1:41 am
by LaPist0la
Hello;

For security reasons, I need to utilize wget to download a Nagios plugin directly from the Debian host. The link to the Nagios Plugin URL is as follows, yet I need the Exact download link for this file to utilise wget:

http://exchange.nagios.org/directory/Pl ... ue/details

Thanks.

Re: Exact download link

Posted: Fri Sep 13, 2013 7:42 am
by scottwilkerson

Code: Select all

http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=2116&cf_id=35

Re: Exact download link

Posted: Fri Sep 13, 2013 10:34 am
by gshergill
Hi LaPist0la,

I had the same requirement on one or two of the servers I monitor as well.

If you right click a URL link, in most browsers there is an option along the lines of "Copy Link" or "Copy URL" which saves the exact download link to the clipboard.

Hope this helps in the future.

Kind Regards,

Gary Shergill

Re: Exact download link

Posted: Fri Sep 13, 2013 10:45 am
by sreinhardt
Thanks gary! Additionally, wget and curl sometimes need links with arguments enclosed in double quotes to accept it properly.