I have this piece of my code to get all .mdb files:
echo option batch abort
echo option confirm off
echo open sftp://%USERNAME%:%PASSWORD%@%SERVER_ADDRESS% -hostkey="*"
echo lcd %LOCAL_DIRECTORY%
echo cd %REMOTE_DIRECTORY%
echo get -preservetime -filemask=*.mdb
echo exit
I want to improve it, to only retrieve .mdb
files modified within the last 24 hours.