09.23
0
I usually use wget, tools-based CLI (Command Line Interface) is powerful enough to be used as media downloads. I often use this wget, especially if I want to download the iso file on another computer, for example, the position I'm at home and want to download the iso file using an office computer or vice versa. I can ssh into the office, run the command screen (so that the download is still running even though I already disconnect) and then run the wget command.

What matters is if wget requested the download process on a web page that requires authentication, for example, to download an ISO file SUSE Linux Enterprise Server 11 SP 1 recently released a few days ago. I could just download it via browser, enter the user name and password on the page Novell Single Sign-On
website and then downloading the iso file, but I do not want to download through the browser, because I want to download the iso file on one of my servers that exist on co-location server that has a higher internet speed and I can only access it via ssh connection.

Purposes of downloading a particular file on a page that requires authentication can be easily overcome by using parameters http-user and http-password in the following format:

1.wget -c --http-user=username --http-passwd=password'Download-Link'
Example :
1.wget -c --http-user=zezevavai --http-passwd=mysecretpassword'http://download.novell.com/sendredirect?target=%2Fprot%2Fx4q3cbksW7Q%7E%2FSLES-11-SP1-DVD-x86_64-GM-DVD1.iso&;buildid=x4q3cbksW7Q&fileid=rJK5j5-Sd4Y~&mirror=AkamaiHost&nohost=false'
User and password can be obtained from the website that we want to use, in terms of the downloaded ISO file SLES, I am free to register a user name and password in the Novell website.
The above method should be used to download other files located on web pages that require authentication.

0 komentar:

Posting Komentar