upload Sketch via ethernet

Hello everyone! :slight_smile:
I got a arduino due and ethernet shield, and want to upload sketch through ethernet
or maybe complie sketch and put the file to SD card by ethernet and let update it.

I got this from internet.

But they was for Arduino UNO(ATmega328) not for DUE(ATsam3x8E)

so... help! anyone have ideal how to do that?