Auto upload: Failed to change timestamp of the file

I have configured the auto upload on my remote server with PhpStorm and I get this error:

Failed to change timestamp of the file

But the file is uploaded and the update date is updated. So I don't understand the error. I unchecked the case "Ovveride timestamp" in the config.

Any idea?


I had the same issue just a while ago... after changing owner and group for /var/www/html/[my_domain] to be the same as my ftp user solved this error at least for now.


old post but i wanted to add my 2 cents. 

I also have this error and discovered it's due to using Filesystem ACL's (setfacl). My deployment directories are owned by "apache" but I have ACL's set so that my user can write to the files. However, Linux doesn't allow non-owners to modify the mtime of files (regardless of what the ACL's are). So, your options are to chown the files to your user, or disable the "preserve file timestamps" in Intellij.

[root@server]# getfacl MainController.php
# file: MainController.php
# owner: apache
# group: apache

I've also come across this, can anyone shed some light on this error? And to resolve this?


This usually means that (S)FTP software on your server does not understand timestamp changing command or uses completely different command or format

Please enable debug logging, reproduce issue and attach log here -- this will allow to see what command was sent .. and what server (S)FTP software you have.

Related ticket (possibly your server supports this):


I remember that I used OVH mutu server, the basic one. (Perso)
I have no idea what kind of FTP they use.


Well .. if you attach log file it should tell supported commands as well as FTP software used (unless server was configured to not to give away such info).

In any case: AFAIK at the moment  only MDTM command is supported but not UTIME or MFMT.


Here is my attached log.


Accordingly to your log:

  • I could not find what server software it is (possibly because it was configured to not to display such info)
  • FTP server reports that it supports MDTM command (used for setting timestamp) .. but it does not recognize format used (different order of parameters (unlikely)?? .. or (most likely) it can only return timestamp but unable to modify it -- )

I may only suggest submitting new ticket to the Issue Tracker and attach this log there -- corresponding developer will investigate it further.


Aye, which is why I was stumped, nonetheless opened a ticket on it along with the log file.

Thanks for looking into this mate.


Thank you so much for your help!

By the way, MFMT is also supported, but this server doesn't support that extension (UTIME won't help it also).

By the way, MFMT is also supported,

I see it now .. after I have checked ALL the comments.

I may only suggest altering the ticket summary (or description) for now (untill fully resolved) to specify this moment (because based on current summary everyone will get wrong impression of the currently supported commands)


I have the same problem:

Failed to change timestamp of the file 'xxxxxxx'

but I bet it is a problem related with file permissions. I am working in two different webs in the same server and the problem only happens in one of them. Both have different file permissions and owner.


Any chance to test file permissions? Does the same happen using 3rd party app (e.g. Filezilla)?


I know it's an old post, but maybe it can help someone.
I don't know if this is the best solution, but the way I found to get around it was to go to [Tools -> Deployment -> Options]
I marked the option "Upload changed files automatically to the default server" as "On Explicit save action (Ctrl + S)".

Now to upload the file to the server, just select it and give [Ctrl + S]


Elias, It does not help.


Please sign in to leave a comment.