Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Returns the last modified time of the given file
<?php ftp_mdtm(FTP\Connection $ftp, string $filename): int
<?php     {

        $location = $this->prefixer->prefixPath($path);

        $connection = $this->connection();

        $lastModified = @ftp_mdtm($connection, $location);



        if ($lastModified < 0) {

            throw UnableToRetrieveMetadata::lastModified($path);