The 20-year-old arrives at the Blue Square Bet South side with them second bottom and four points adrift of safety.
O'Connor has previously had a two-month loan at Hampton & Richmond Borough, also in the Blue Square Bet South, earlier this season.
He is set to go straight into the Rooks' side for their match against Dartford on Saturday.
Source: PA
Source: PA