SMF Support > Install and Upgrade Help
Downloading via command line - Unix
(1/1)
TakingSides:
I have recently attempted to download the SMF forum from the server Terminal but was unable to do so, because the data was corrupt.
--- Code: ---$ wget -o smf.tar.gz http://download.simplemachines.org/index.php?thanks;filename=smf_2-0-2_install.tar.gz
$ tar -xzpf smf.tar.gz
--- End code ---
The extraction failed, because the file was not correctly downloaded - instead I had to download the files locally, and SFTP them to the server. The extracting worked and I did install the forum, just would be nice for the ability of using wget.
-
Ash
CoreISP:
Hi Ash,
You're doing it wrong. You're trying to wget the thank you page, that's not gonna work as that page will perform a redirect.
It *might* work if you open that URL with lynx, but lynx doesn't really do redirections well imho.
On the thank you page, there is a link "click here to try again".
Right click that and copy the url.
wget that url.
Voila ;)
Doctor Deejay:
--- Quote from: CoreISP on June 07, 2012, 10:31:55 AM ---On the thank you page, there is a link "click here to try again".
Right click that and copy the url.
wget that url.
--- End quote ---
That's pretty cool, I didn't know that was possible lol. :P Thanks for the explanation :)
Oh and sorry for hijacking your topic Ash :P
Thantos:
For downloading via the command line I recommend using the URLs outlined here: New ways to download SMF
Navigation
[0] Message Index
Go to full version