Re: Get command with hour and minute on filemask
"get -filemask=""*.log.gz>=2023-12-10 07:20<=2023-12-12 15:00"" *.log.gz" ^
See https://winscp.net/eng/docs/commandline#syntax
"get -filemask=""*.log.gz>=2023-12-10 07:20<=2023-12-12 15:00"" *.log.gz" ^
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="logPathOnMyPc.log" /ini=nul ^
/command ^
"open sftp://user:pass@IP/ -hostkey=""ssh-rsa RSA""" ^
"cd /filePathOnServer^
"lcd filePathOnMyPc" ^
"get -filemask=*.log.gz>=2023-12-10 07:20<=2023-12-12 15:00 *.log.gz" ^
"exit"
*.log.gz
files between the dates listed.
File not found ' «07:20<=2023-12-12».'
2023-12-10
and 07:20
, what is the correct way of writing the filemask? I'm not finding it in the docs.