 } rtc_boot_mode;
 /* ---- */
 //int CHUNKED_FILE_SIZE = 146000; // 146KB
-int CHUNKED_FILE_SIZE = 292000;
+//int CHUNKED_FILE_SIZE = 292000;
+int CHUNKED_FILE_SIZE = 140000;
 /* -- config ---*/
 String gopro_dir  = DEFAULT_DIR;
 String gopro_file = DEFAULT_FILE;


  if ( !bpost ) {

    char buff[1460] = { 0 };
    int len = get_size; // file size

    uint8_t digestkey[32];

    return URLEncode(base64::encode(digestkey, 20).c_str());
  } else {

    char buff[1400] = { 0 };
    int len = get_size;

    sslclient.print(content_more);
