eshell-file-attributes

eshell-file-attributes is a compiled Lisp function in `esh-util.el'.

(eshell-file-attributes FILE &optional ID-FORMAT)

Return the attributes of FILE, playing tricks if it's over ange-ftp.
The optional argument ID-FORMAT specifies the preferred uid and
gid format. Valid values are 'string and 'integer, defaulting to
'integer. See `file-attributes'.