what kind of grease to use on front shocks I have managed to release my shocks from the compressed position. The uppers look in very good nick. It has a little corrosion on the uppers.

I brought a tub of pure bike eco grease ages ago and never used it. Is it possible to use this on the uppers and lowers? 

http://www.sjscycles.co.uk/pure-eco-range-bike-grease-100g-tub-prod29089/
It sounds like the fork was non-functional or stuck.  Simply greasing the uppers isn't going to resolve the problem - you likely need to rebuild the entire shock assembly, replacing seals, lubricating internal parts, etc.  Every fork is a bit different, so you'll need to find service instructions for the specific manufacturer/model you own.  Or, have the local bike shop do it - it shouldn't be more than a few hours labor.