I think the solution depends on your user case :
1. if the 1MB data has speed request like you must transfer the data in limited time , like you need a 10M TCP throughput ,
suggest you to use the TCP server/Client .
2. if your 1MB data need a remote control or download and check,
Cloud via HTTPS is a good choise, like the cloud door bell design, all the door bell camera data will be transferred to the cloud,
you can check the door bell data via cloud in another device like cell phone.