Cannot upload programs thru one usb port but can through the other usb port

That sounds like the mac decided to shut down the port because of over current. Looks like you shorted something out.