File upload from canvas object

Where does this get added in the server connect form Patrick or where do I add this code?

I seem to have things as what I think would be setup correctly but the actual response is blank in the browser for img_binary.

See below.