is there any way to apply a patch without having to login ?

after applying asterisk patch i cannot login, i realize it is because i uploaded wrong version
when i upload correct version on a test install there is no problem
however my problem exists on my production machine

if can apply the corret version of the sugar patch without having to login to sugar
i can fix it i am sure

the correct patch is here
http://www.sugarforge.org/frs/?group_id=204
the top one

thx in advance