There are 2 options here - you can learn more about both in chapter 7 of the openGear Developer's Guide Part II:
1. Use the HTTP upload mechanism instead of the OGP one -> DashBoard will just send any file to your device and you can do the checking
2. Add the OGP File Upload headers to your file (see "File Format for OGP Upload" on page 190)
#DashBoard