• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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