Re: Filemask and slashes
Both forward and backslash work in the file mask.
The backslash is not an escape character in WinSCP. Neither in Windows batch file.
So in a batch file
(
(tested now)
If you have a different experience, please post your batch file and session log file.
The backslash is not an escape character in WinSCP. Neither in Windows batch file.
So in a batch file
(
.bat) like this, both should (and do) work:
set chclocal=C:\local\path
set chcremote=/remote/path/
winscp.com /ini=nul /log=script.log /command ^
"open ..." ^
"put -resumesupport=off -filemask=|*\ %chclocal%\*.* %chcremote%" ^
"exit"
(tested now)
If you have a different experience, please post your batch file and session log file.