serial camera i.e ov528 jpeg camera for arduino

Hello sir,
I want to connect my ov528 camera with arduino..but i am not able to do it,
the project i want is connecting camera with ethernet shield and it would store the picture in the SD card...

I have created the server and used html as a output but the error is camera clickes the picture but doesnt transmit the image to the jpeg file.creating of jpeg file but storing no data or picture in the SD card...the size of the image is 0 bytes.

i have used serial to usb converter i.e rs232 to usb convertor but the test software shows error in receive data...
I tried to upload the code but had an error of 9000 character soo i have uploaded the file,kindly advice me pls

Thanks in advance

camera.ino (13.2 KB)