NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[BOGUS] [BUG] FTP upload uses MDTM instead of MFMT


Joined: 09 Feb 2017
Posts: 28
Reply with quote
Here's the ProFTPd log that shows the issue:

Code:
[12/Oct/2026:12:49:15 +0200] ftps <ip cut> 611348 <ip cut>:21 <hostname cut> "MDTM 20261012104913 SubscriberFields.php" "" "-" 550 "20261012104913 SubscriberFields.php: No such file or directory" - -


It seems PHPEd issues MDTM to change file mtime, which is wrong, MDTM is defined for retrieval only and MFMT must be used instead to modify.
This obviously causes a multitude of issues with smart sync as remote file mtimes are not updated properly.
The syntax seems to be correct for MFMT as well, so probably just a typo in the command name?

PHPEd version: 23.0 (23016)


Last edited by Alex/AT on Tue Oct 13, 2026 7:18 am; edited 1 time in total
View user's profileFind all posts by Alex/ATSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8375
Reply with quote
No, it’s not a typo. If the server advertises support for MFMT, PhpED uses it. Otherwise, it checks whether MDTM is advertised with different combinations of date/time and time zone info. If none of these options is supported, it falls back to the plain MDTM you see in the log.
For instance, Pure-FTPd advertises support for MFMT and works without any issues. FTP Voyager support MDTM.

Fixing the command may not help if your server does not support it.
Which server software and version are you using? I can check what it supports and what it advertises in the FTP protocol.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 09 Feb 2017
Posts: 28
Reply with quote
dmitri wrote:
Fixing the command may not help if your server does not support it.
Which server software and version are you using? I can check what it supports and what it advertises in the FTP protocol.

Hello Dmitri,
Thanks for the explanation, I will check the FTP server then as then it is a server side bug then.

Please close the topic.

P.S.

Yes indeed,
Quote:
FactsAdvertise on
was required for ProFTPd to announce MFMT support.
View user's profileFind all posts by Alex/ATSend private message


Joined: 09 Feb 2017
Posts: 28
Reply with quote
Just as a side thing, are other FTP features that are required or may be handy to optimize the sync listed somewhere?
View user's profileFind all posts by Alex/ATSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8375
Reply with quote
If MFMT works, that’s all you need for reliable sync over FTP.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[BOGUS] [BUG] FTP upload uses MDTM instead of MFMT
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic