729: FTP SetFile Timestamp not possible

Bugs and issues - current donor version.
Post Reply
Message
Author
KRotte
Posts: 2
Joined: 03.10.2016, 15:16

729: FTP SetFile Timestamp not possible

#1 Post by KRotte » 03.10.2016, 15:46

Hello,
I have a QNAP Nas with built-in ProFTP.

When i try to upload a file and check "Preserve file/folder timestamp" i get an error "SetFileTimestamp: 550 20160726203924 PremiumVoucher.pdf: No such file or directory".
In my FTP-log i can see the message "MDTM 20160726203924 PremiumVoucher.pdf 550".
When i do the same with Filezilla i see "MFMT 20160726183924 PremiumVoucher.pdf 213".
I think MDTM is the wrong command. It is used to return the last-modified time of a specified file and not to set the last-modified time. To set the time FC should use MFMT, which ProFTP understands.

See http://www.proftpd.org/docs/howto/FTP.html
MDTM
Short for MoDification TiMe, this command is used by the client to request the modification time of a file on the server. This command is defined formally in RFC 3659, and is a commonly implemented FTP command. Note that this command cannot be used to change the modification time of the file on the server; it only reports on the file's modification time. The MFMT command is used to change a file's modification time.

MFMT
Short for Modify Fact: Last Modified Time, supported by mod_facts. Some clients use this command to change the last modified timestamp on a newly uploaded file so that the timestamp on the server matches the timestamp of that file on the client.

Regards
K.Rotte

Marek
Author
Author
Posts: 2572
Joined: 10.04.2006, 07:48
Location: Germany
Contact:

Re: 729: FTP SetFile Timestamp not possible

#2 Post by Marek » 03.10.2016, 16:33

Thanks for the explanation.
Changed to MFMT now.
Could I maybe test it with your FTP Server?

Marek
Author
Author
Posts: 2572
Joined: 10.04.2006, 07:48
Location: Germany
Contact:

Re: 729: FTP SetFile Timestamp not possible

#3 Post by Marek » 03.10.2016, 17:33

OK, I have found ftp server for testing MFMT and it works now.

KRotte
Posts: 2
Joined: 03.10.2016, 15:16

Re: 729: FTP SetFile Timestamp not possible

#4 Post by KRotte » 03.10.2016, 17:54

I´ve tested it with the FTP on my QNAP Nas.

When will this be available? In the next donor-release?

Marek
Author
Author
Posts: 2572
Joined: 10.04.2006, 07:48
Location: Germany
Contact:

Re: 729: FTP SetFile Timestamp not possible

#5 Post by Marek » 03.10.2016, 18:10

Yes, release 730.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests