Download file from fedex website

I am trying to download a file from Fedex website on a daily basic and which I want to automate using SSIS, It is not a straight forward download as we need to pass in credentials to login and also some report parameters to download the report , so can anyone please guide me how to do that.