Use Esp8266 to upload image to my server

I have an esp8266 1mb and i want to get a snapshot image from ip camera and upload to server

To view image on my local pc i open this link
http://192.168.0.115/cgi-bin/snapshot.cgi?channel=1
Which is a 500kb jpeg image

So how can i send this image to my server using the esp8266.

Do i need to convert to base64 and then send to server or which other way you prefer

P.s. server side is not a problem , i can recive in any way that is better for esp to send