Hi Manish
As already mentioned, it should be only through a custom built program or a BDC to update the exchange rate automatically.
You can put this program as a batch job and once you provide your file in the directory in SAP, the program should be able to take the file and update the exchange rates.
Normally people also link SAP to a forex system for getting the exchange rate automatically and update the same in SAP.