Retrieving file timestamp information

Top  Previous  Next

You can retrieve the date a file was last modified using the Sftp#getFileTimestamp method.

 

Example

 

// get last modified date of image.gif

Date date = sftp.getFileTimestamp("image.gif");





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC