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?

12 comments

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

0

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): http://youtrack.jetbrains.com/issue/WI-1057

0

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

0

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.

0

Here is my attached log.



Attachment(s):
idea.log.zip
0

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 -- http://tools.ietf.org/html/rfc3659#section-3.4 )


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

0

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

Thanks for looking into this mate.

0

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).

0
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)

0

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.

0

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

0

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.

1

Please sign in to leave a comment.