(1) Imagine the link to file that we want to download is http://rapidshare.com/files/37600316/Norman_Davies_-_Powstanie_44.part11.rar . Download it:
$ wget http://rapidshare.com/files/37600316/Norman_Davies_-_Powstanie_44.part11.rarInside what you downloaded find something like:
<form name="dl" action="http://rs71.rapidshare.com/files/37600316/371303/Norman_Davies_-_Powstanie_44.part11.rar" method="post">Remember this URL.
(2) Do:
$ wget --post-data='dl.start=Free' http://rs71.rapidshare.com/files/37595117/Norman_Davies_-_Powstanie_44.part11.rar -O nic.html
(3) Take a look at sources of nic.html and find URL of access code - something like http://rs71.rapidshare.com/access325196.jpg
(4) Download access code and take a look at it (you can do it from different IP):
$ wget http://rs71.rapidshare.com/access325196.jpg
(5) Take a look at sources of nic.html and find such fragment:
<form name="dl" action="http://rs71tl2.rapidshare.com/files/37595117/325196/Norman_Davies_-_Powstanie_44.part11.rar" method="post">Remember this "action" parameter.
(6) Finally, download the file:
$ wget --post-data='accesscode=u8kw' http://rs71tl2.rapidshare.com/files/37595117/325196/Norman_Davies_-_Powstanie_44.part11.rarAs you can see, in this command in "--post-data" I gave the access code I read from the image nad as the URL I gave the "action" parameter which I found in nic.html. It works.