LoginSignup
10
7

More than 3 years have passed since last update.

PhpStormからFTPでアップロードするときになんとかtimestampという警告が出る現象の解決方法

Last updated at Posted at 2016-02-07

現象

PhpStormでRemote Hostの設定を行いFTPでファイルをアップロードすると、アップロードはできているのだが以下のような警告が出る。

[2016/MM/DD hh:mm] Upload to hoge
[2016/MM/DD hh:mm] Failed to change timestamp of the file '○○○/○○○.html'
[2016/MM/DD hh:mm] Upload to hoge completed in less than a minute: 1 file transferred (28.3 Kb/s)

解決策

ググッたらまさに同じ現象の解決策があった。下の参考サイト1個目。
メニュー Tools>Deployment>Options で Preserve files timestamps のチェックを外すと警告が出なくなった。
"Preserve files timestamps" はローカルのファイルの更新日時をそのまま引き継いでサーバにアップロードするという設定かな。サーバ側がそれに対応してないから警告が出てたみたいな。

参考サイト

【PHPStorm】FTPアップロードでタイムスタンプが更新できないエラー | お仕事募集中:
PhpStormからFTPでファイルをアップロードすると時間がずれる(23275)|teratail:

10
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
7