Ftp Doesn't work and site is down

I have had my dreamhost vps for a few days now, and I think I really screwed up some stuff.

I uploaded a php file that does some stuff in imagemagick, and then returns an image. So I can it like this in my index.php. While i was editing though, i accidentally uploaded a version that never returned an image, so everything hung.

At first i tried to just remove the file with ftp, but the ftp appeared to be broken and wouldn’t load. So i tried resetting the server. Didn’t work. Tried resetting it again, didn’t work. Tried disabling mod_php, didn’t work. Reset again, didn’t work. I now I have no idea what to do. It kind of sucks because I was planning to work on my site today.

Does anyone have any ideas on how to get my site back?

EDIT: Magically works now. Problem solved. That was a strange 2 hours.