Need to read the file size and last modified date from external drive
I have a requirement, where the file size and last modified date of a file should be retrieved from an external drive and need to be configured as a message for Email notification. Can anybody tell how this can be done?.
***Updated by moderator: Lochan to update Categories***
A file listener rule can look at the specified path in the server. Once you setup the listener, you can configure the service package, service class and the service file rule.
This service file rule in turns contain the mode for processing the file. Make sure you keep the processing method as "One file at a time".Here you can make use of the initial activity, where the size of the file can be obtianed using the following snippet: