Networking Protocols
--
Questions
--
Followers
Top Experts
I have a network camera that regularly writes a video file out to a shared folder on my FreeNAS server using SMB protocol. If I view the file list with Windows explorer (Vista 64) all of the file stamps are exactly 5 hours 'earlier' than if I use ftp to list them.
If I use Windows Explorer and type in the ftp address where the files are located, then they all display with the correct time/date!
I have checked and re-checked the obvious. Â The time on the NAS and the IP camera are correct. In fact, when I open a video (with wrong time stamp) the time imprinted on the video is the correct time.
Also, if I change the configuration in the camera to write out the files using FTP instead, then all of the time stamps show to be correct using Windows Explorer.
I spoke to my camera manufacturer and she stated that the SAMBA protocol was based on GMT (GMT +0) and she said there will always be a -5 hour difference for me. Â This makes no sense to me.
I've included a screen shot that shows the listing in FTP and Explorer. Â The listing for FTP is the correct times.
timestamp.JPG
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
My initial guess (which is normally wrong) is that the camera has no timezone and the time is set to your local time. Â When it sends the file to the NAS box using SAMBA, the NAS box is assuming the time sent by the camera is GMT (the camera support person was correct, SAMBA timestamps are supposed to be GMT). Â Since the camera is actually using local, the NAS box subtracts 5 hours (since your local time is now GMT-5) and thus you are 5 hours off.






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Another peice of the puzzle I've recently discovered. Â If I change the way the files are written to the NAS (now by writing directly to a NAS Share from the camera) and change it to ftp the files over to the NAS folder, then the time is correct when I list them via Windows Explorer and then 5 hours off if I view the file listings via FTP. Â In summary, the exact opposite is happening!
This is my temporary 'workaround' since I almost always view my files using Windows Explorer, but I'm still holding out for someone smart enough to figure out what is going on.
What NAS and Camera are you using?
It really sounds like one of them is using the incorrect file, yes I know that is obvious.
I am using FreeNAS on a Dell Dimension 3100 and the camera is a Vivotek IP7142. Â The camera's firmware allows for motion detect, when activated, to directly write to the NAS via FTP protocol, HTTP, or Samba. Â I've checked with the camera people and they verified their settings (I gave them temp access to the camera).
Yes, the obvious does sound like a time zone issue but the fact that if I switch from FTP to Samba writes to NAS makes me now think something else.

Get a FREE t-shirt when you ask your first question.
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
Is your BIOS time set to local or GMT?
I have never used FreeNAS, but I know in Linux you can tell Linux that the BIOS clock is GMT or local time. Â If your BIOS clock is set to local and you've told FreeNAS is it set to GMT (or the other way around) this would cause a problem with timestamps.
Networking Protocols
--
Questions
--
Followers
Top Experts
Networking software modules are interfaced with a framework implemented on the machine's operating system that implements the networking functionality of the operating system. The best known frameworks are the TCP/IP model and the OSI model. Systems typically do not use a single protocol to handle a transmission. Instead they use a set of cooperating protocols, sometimes called a protocol family or protocol suite.[9] Some of the best known protocol suites include: IPX/SPX, X.25, AX.25, AppleTalk and TCP/IP. Other protocols indirectly related to networking include the hypertext transfer protocol (HTTP) and its related technologies, Dynamic Host Configuration Protocol (DHCP), Domain Name Server (DNS) and other Internet protocols.