TypeError thrown
ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given