How to transfer progams arduino->PC

I've buyed an two months ago and done program to a robot but I lost the file, can I get using the cable?how?(Arduino uno):confused:

Not in a way that would help you.

You cannot recover from the UNO the 'file' as in your sketch that you used to program the UNO.