Are you sure you are asking the right question? Tell us exactly what you are trying to do and provide details of your computer model/year.
Normally you would go to a site and purchase Windows 8. Then you would download it (click on the site's download button) to your computer or external storage device.
How does 4GB ram come into play? Ram has nothing to do with downloading files.