Ask a Question
GoPro Support Hub Find a solution. Share a solution. Ask a question. Stay stoked.
Announcements
Is your GoPro gear up to date? Check to see If it is on our Update page.
Cameras
%3CLINGO-SUB%20id%3D%22lingo-sub-345550%22%20slang%3D%22de-DE%22%3EImprovement%20for%20http-access%3A%20send%20correct%20date%20%2F%20time-headers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-345550%22%20slang%3D%22de-DE%22%3E%3CP%3EHi%2C%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20for%20advanced%2C%20more%20technical%20use%20cases%20I%20tried%20to%20download%20recorded%20videos%20through%20wifi%20via%20http.%20In%20the%20directory%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22http%3A%2F%2F10.5.5.9%3A8080%2Fvideos%2FDCIM%2F100GOPRO%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20http%3A%2F%2F10.5.5.9%3A8080%2Fvideos%2FDCIM%2F100GOPRO%2F%20%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20files%20are%20shown%20as%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20GH010051.MP4%2025-May-2019%2008%3A25%20209.0M%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20But%20when%20downloading%20them%20the%20headers%20say%3A%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20Last-Modified%3A%20Thu%2C%2001%20Jan%201970%2000%3A00%3A00%20GMT%20%3CBR%20%2F%3E%3CBR%20%2F%3E%20Could%20you%20maybe%20please%20send%20the%20correct%20date%20%2F%20time%2C%20as%20shown%20in%20the%20directory-listing%3F%20%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%20Thanks%20for%20looking%20into%20it.%20Greetings%2C%20%3CBR%20%2F%3E%20Stefan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-345550%22%20slang%3D%22de-DE%22%3E%3CLINGO-LABEL%3EHERO7%20Black%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-345569%22%20slang%3D%22en-US%22%3ERe%3A%20Improvement%20for%20http-access%3A%20send%20correct%20date%2Ftime-headers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-345569%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.gopro.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F103350%22%20target%3D%22_blank%22%3E%40sneufeind%3C%2FA%3E.%20Does%20your%20camera%20have%20the%20correct%20date%20and%20time%3F%20If%20not%2C%20a%20manual%20update%20will%20help%20fix%20the%20date%20settings.%20To%20do%20this%2C%20please%20follow%20the%20steps%20under%20Manual%20Update%20%3CA%20href%3D%22https%3A%2F%2Fgopro.com%2Fhelp%2Farticles%2Fhow_to%2Fsoftware-update-instructions-for-hero7-cameras%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%20Let%20us%20know%20how%20it%20goes.%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-345572%22%20slang%3D%22de-DE%22%3ESubject%3A%20Improvement%20for%20http-access%3A%20send%20correct%20date%20%2F%20time-headers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-345572%22%20slang%3D%22de-DE%22%3E%3CP%3EThe%20camera%20has%20the%20correct%20date%20%2F%20time%20set.%20In%20the%20http-headers%20returned%20there%20is%20thus%3A%3C%2FP%3E%3CP%3EHTTP%20%2F%201.1%20200%20OK%20%3CBR%20%2F%3E%20Date%3A%20%5B...%20current%20date%20%2F%20time%20...%5D%20%3CBR%20%2F%3E%20%5B...%20additional%20headers%20...%5D%20%3CBR%20%2F%3E%20(as%20per%20http-standard)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20the%20date%20%2F%20time%20I'm%20here%20to%20read%20the%20file%20date%20%2F%20time%20when%20it%20was%20recorded.%20And%20as%20mentioned%20above%20in%20the%20list%20of%20media-files%20(or%20if%20you%20manually%20copy%20the%20files%20from%20the%20camera%20%2F%20sdcard)%20the%20date%20%2F%20time%20when%20the%20media%20is%20recoded%20is%20okay.%20It's%20just%20that%20when%20the%20file%20is%20downloaded%20from%20the%201970s%2C%20which%20is%20the%20unix-timestamp%20zero.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-345660%22%20slang%3D%22en-US%22%3ERe%3A%20Betreff%3A%20Improvement%20for%20http-access%3A%20send%20correct%20date%2Ftime-headers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-345660%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20noted.%20Thank%20you%20for%20clarifying%2C%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.gopro.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F103350%22%20target%3D%22_blank%22%3E%40sneufeind%3C%2FA%3E.%20We%20will%20pass%20this%20along%20to%20the%20team%20for%20a%20closer%20look.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Reply
Highlighted
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: 7,577

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.

GoPro
Posts: 7,577

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.