19 Aug, 2009, tphegley wrote in the 1st comment:
Votes: 0
I think this would be a great addition to the site. I'd love to be able to just wget a codebase and that's it.

Too much effort to download, then upload hehe.

Just a suggestion.
19 Aug, 2009, kiasyn wrote in the 2nd comment:
Votes: 0
Its already possible.

Right click 'download' under the file. Eg (On Murk++), and copy link location.

wget "http://www.mudbytes.net/index.php?a=file..."
19 Aug, 2009, tphegley wrote in the 3rd comment:
Votes: 0
Thought I tried that one time and got an html of index or somethin.

I'll check again.
20 Aug, 2009, kiasyn wrote in the 4th comment:
Votes: 0
It downloads the file as index.php?blalablablabla which you have to rename to a proper filename, ie murk++.tgz. Alternatively use the -O option.

wget "http://www.mudbytes.net/index.php?a=file..." -O "murk++.tgz"
20 Aug, 2009, David Haley wrote in the 5th comment:
Votes: 0
I think that if you use curl, it knows how to read the headers that tell it what the proper filename is.

Alternatively, you can use the –content-disposition flag to wget that tells it to honor the aforementioned HTTP header.

$ wget –content-disposition "http://www.mudbytes.net/index.php?a=file..."
–2009-08-19 21:40:34– http://www.mudbytes.net/index.php?a=file...
Resolving www.mudbytes.net…; 74.207.247.83
Connecting to www.mudbytes.net|74.207.247.83|:80…; connected.
HTTP request sent, awaiting response… 200 OK
Length: 785570 (767K) [application/octet-stream]
–2009-08-19 21:40:34– http://www.mudbytes.net/index.php?a=file...
Reusing existing connection to www.mudbytes.net:80.
HTTP request sent, awaiting response… 200 OK
Length: 785570 (767K) [application/octet-stream]
Saving to: `murk++-1.6r41.tar.gz'

<snip>

2009-08-19 21:40:35 (640 KB/s) - `murk++-1.6r41.tar.gz' saved [785570/785570]
28 Aug, 2009, Kjwah wrote in the 6th comment:
Votes: 0
tphegley said:
Thought I tried that one time and got an html of index or somethin.

I'll check again.


There used to be a bug that prevented it, I had an issue with it but it was quickly fixed after reporting it. If I remember correctly… Damn flu medicine kept me up all night. Work in an hour. :/
0.0/6