You read the module documentation and write some code.
In reply to Re^3: Download a file from https site by Corion in thread Download a file from https site by maheshtrend