Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

FTP protocol file timestamps incorrect

  • 3 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: Roy Goodman

more options

When accessing my server using a ftp:// protocol URL, the timestamps displayed for all files are incorrect. For instance, if a file was created at 12:01 PM EST today, verified by logging into the server directly, then Firefox will display it as 7:01 AM EST. Note that both the server and my browser are in EST.

No other FTP client displays the time this way, so I don't think it's something wrong with the server. The only thing I can think of is that the server is not supplying any timezone information, so Firefox thinks that the server is on UTC which it then converts to EST for me. However, this is an incorrect assumption.

The server is running pure-ftpd on OpenBSD, if that helps.

When accessing my server using a ftp:// protocol URL, the timestamps displayed for all files are incorrect. For instance, if a file was created at 12:01 PM EST today, verified by logging into the server directly, then Firefox will display it as 7:01 AM EST. Note that both the server and my browser are in EST. No other FTP client displays the time this way, so I don't think it's something wrong with the server. The only thing I can think of is that the server is not supplying any timezone information, so Firefox thinks that the server is on UTC which it then converts to EST for me. However, this is an incorrect assumption. The server is running pure-ftpd on OpenBSD, if that helps.
添付されたスクリーンショット

この投稿は Roy Goodman により に変更されました

すべての返信 (3)

more options

Are you possibly using "Resist Fingerprinting" as that sets you in the UTC timezone ?

more options

cor-el said

Are you possibly using "Resist Fingerprinting" as that sets you in the UTC timezone ?

I am not, but thanks for the suggestion. It seems that Firefox thinks that the server, rather than the client, is in UTC, since the times on the page show in EST.

more options

Here is a listing of the directory on the server shown in the attached image:

  • $ date
  • Fri Feb 28 13:03:28 EST 2020
  • $ ls -la
  • total 1520
  • dr-xr-x--- 6 rlgoodman ftpgroup 512 Feb 28 12:52 .
  • drwxr-x--- 5 root ftpgroup 512 Jan 23 15:50 ..
  • dr-xr-x--- 5 rlgoodman ftpgroup 512 Jul 18 2017 ap21rm-ff
  • dr-xr-x--- 3 rlgoodman ftpgroup 512 Jul 18 2017 ax-util-keys
  • dr-xr-x--- 2 rlgoodman ftpgroup 583168 Feb 28 10:50 current
  • -rw-r--r-- 2 ops-rm ops-rm 64105 Feb 28 12:52 entitledAxiomaItems.xml
  • -rw-r--r-- 2 ops-rm ops-rm 62209 Feb 28 12:50 entitledAxiomaItemsV2.xml
  • dr-xr-x--- 3 rlgoodman ftpgroup 512 Jul 18 2017 esm-flatfile
  • -rwxr-xr-x 711 ops-rm ops-rm 15636 Feb 27 16:01 noDistributionDates.xml

As you can see in the attached image, the timestamps shown by Firefox are 5 hours off from the actual time.

この投稿は Roy Goodman により に変更されました