GET to copy wildcard files works from linux to windows, but not PUT (wildcard) from Windows to Linux
Text file is below. Am trying to run Winscp as a scheduled task, reading the text file to do it's job. The 'get' command properly copies a file, but the 'put' command does not. Using the WinSCP gui though, works fine to both upload and download between the two servers.
option batch abort
option confirm off
get /salesforce/linux_to_win/*.* R:\linux_to_win\
put R:\Win_to_linux\*.* /salesforce/Win_to_linux/
exit
option batch abort
option confirm off
get /salesforce/linux_to_win/*.* R:\linux_to_win\
put R:\Win_to_linux\*.* /salesforce/Win_to_linux/
exit