Ask a Question
GoPro Support Hub Ask a question. Share an answer. Find a solution. Stay stoked.
Announcements
Is your GoPro gear up to date? Check to see If it is on our Update page.
Cameras
Reply
Sightseer
Posts: 2

Improvement for http-access: send correct date/time-headers

Hi,

for advanced, more technical use-cases I tried to download recorded videos through wifi via http. In the directory

http://10.5.5.9:8080/videos/DCIM/100GOPRO/

files are shown as:

GH010051.MP4     25-May-2019 08:25      209.0M

But when downloading them the headers say:

  Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT

Could you maybe please have the camera send the correct date/time, as shown in the directory-listing?


Thanks for looking into it. Greetings,
  Stefan

GoPro
Posts: 9,259

Re: Improvement for http-access: send correct date/time-headers

Hello @sneufeind. Does your camera have the correct date and time? If not, a manual update will help fix the date settings. To do this, please follow the steps under Manual Update here. Let us know how it goes. Thanks!

Sightseer
Posts: 2

Betreff: Improvement for http-access: send correct date/time-headers

The camera has the correct date/time set. In the http-headers returned there is also:

HTTP/1.1 200 OK
Date: [...current date/time...]
[...additional headers...]
(as per http-standard)

 

But the date/time I'm here refering to is the file date/time when it was recorded. And as mentioned above in the list of media-files (or if you manually copy the files from the camera/sdcard) the date/time when the media was recoded is okay. It's just that when the file is downloaded it shows up as being from 1970, which is the unix-timestamp zero - so that value is probably just not set in that part of the firmware which delivers the file / passes through the content.

Highlighted
GoPro
Posts: 9,259

Re: Betreff: Improvement for http-access: send correct date/time-headers

This noted. Thank you for clarifying, @sneufeind. We will pass this along to the team for a closer look.