Posted: 2017-01-10 16:14
I'm trying to download the latest files that match a mask.
"open sftp://user:pass@host:port" "get /path/to/abc_*.csv /path/to/xyz_*.csv d:\downloads\ -latest" "exit"
I want it to get the latest file that matches abc_*.csv AND ALSO get the latest file that matches xyz_*.csv. So it should download two different files.
However, the behavior seems to be that it gets the latest file that matches abc_*.csv OR xyz_*.csv. It downloads one file.
Is this the expected behavior? Is there some way to get it to download two files?
Location: Prague, Czechia
Yes, this is an expected behavior. To get two files, use two
You can post new topics in this forum
And it's free!