How can I get seconds information from a remote FTP timestamp query?

1 view (last 30 days)
Using dir(fObj), the seconds field always returns a 0. In \matlab\iofun\@ftp\dir.m,
file=remoteFileList(i);
shows the date as, e.g., Oct 27 12:35. No seconds or year information is given. Any way to create this in the format returned by the command "ls -le" ?
I am using file timestamp info to determine when an updated file has been written to a directory, but if it is updated within the same minute, I am stuck in my while loop.
I am running R2011b.

Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!