Re: Import only ".csv" files, getting other folders along with csv files
You are missing a quote:
Though that might not be the cause of your immediate problem. There might be another problem earlier in your batch file. Show us your while batch file if you need more help.
See also Why are some WinSCP scripting commands specified in a batch file not executed/failing?
"get ""/remote_dir"" -filemask=""*.csv>8D|*/"" ""\\local_dir""" exit
Though that might not be the cause of your immediate problem. There might be another problem earlier in your batch file. Show us your while batch file if you need more help.
See also Why are some WinSCP scripting commands specified in a batch file not executed/failing?