• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question ProFTP, DIR and missing seconds

hebeyer

New Pleskian
Hello,

I have a problem with showing the seconds of a remote file with ProFTP.
My system: Plesk Obsidian 18.0.24 on Ubuntu 18.04.4 LTS with psa-proftpd 1.3.6b

If I make a request of a file on my FTP-server, I get the filetime in the format "hour:minutes" (see below; one line before the last line). But for a project I need the seconds too, like "hour:minutes:seconds" (e. g. "17:57:48").

Same problem with integrated FTP-client in Windows 10. But the GUI of Filezilla shows the correct timestamp with seconds ... :rolleyes:

Has anyone of you an idea, how to get the seconds of a remote filetime? Is there a way to (re)configure ProFTP with Ubuntu/Plesk to show the seconds by default?

Code:
root@mail:~# ftp
ftp> open testvp.mXXXXXXXXXXX.de
Connected to testvp.mXXXXXXXXXXX.de.
220 ProFTPD Server (ProFTPD) [82.165.XXX.XXX]
Name (testvp.mXXXXXXXXXXX.de:root): testuser
331 Password required for testuser
Password:
230 User testuser logged in
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd httpdocs
250 CWD command successful
ftp> dir testfile.dat
200 PORT command successful
150 Opening BINARY mode data connection for file list
-rw-r--r--   1 testuser   psacln        305 Feb 22 17:57 testfile.dat
226 Transfer complete


Greetings from Germany
Henning
 
Back
Top