method

mdtm

v2_2_9 - Show latest stable - Class: Net::FTP
mdtm(filename)
public

Returns the raw last modification time of the (remote) file in the format “YYYYMMDDhhmmss” (MDTM command).

Use mtime if you want a parsed Time instance.