Photo File Transfer

Take one photo, turn wifi on for 40 secs (if it not enough time to connect / download, change it) and then turn wifi off.