how to get last modified date of file from sftp server

I am new in XOJO working with sftp curl mbs pluins,
What I need is get modified date from sftp.
I am tried below code

[code] dim s as string
dim d as CURLSMBS

d.OptionCustomRequest = "MLSD"

[/code]

Did you try the directory listing examples?

yes but with option d.OptionDirListOnly i got only directory names. but here I need also modified date . So i tried with d.OptionCustomRequest=“MLSD” But I am unable to retrive modified date of that file

Is there any other way for sftp to get modified date?

did you try a custom Request with “ls” command?