In python,
from ftplib import FTP
ftp = FTP("speedtest.tele2.net")
ftp.login("anonymous", "abc@gmail.com")
ftp.cwd("/upload")
ftp.retrlines('LIST')
Above code gives output like below:
-rw------- 1 105 108 34731200 Oct 05 17:50 100MB.zip
-rw------- 1 105 108 17404256 Oct 05 17:44 1_7708308143086291200_17-9ULspeedtest.upt
-rw------- 1 105 108 3889879 Oct 05 17:48 1_890431022834275069_17-9ULspeedtest.upt
-rw------- 1 105 108 8239537808 Oct 05 17:50 Die.glorreichen.Sieben.2016.German.1080p.DL.DTSHD.BluRay.AVC.Remux-pmHD.mkv
-rw------- 1 105 108 277504 Oct 05 17:50 _verizon_Quectel_COM57_512KB.zip
I am interested to get the last-modified-time of a file in epoch milliseconds. How to get it ?