two Arduino YÚN data transfering

I want to transfer some video or photograph between two Arduino YÚN board
but there's no internet covered, and I need it wireless
so I can only use adhoc mode to transfer these data
is there any sample code to reference? or any technical support

thanks a lot !

Why not having one yun connecting to the other yun wifi?

cause it's the beginning
after this, I'll put lots of Yun doing data transfer

yan_tw:
cause it's the beginning
after this, I'll put lots of Yun doing data transfer

And?