• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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