Problem passing a parameter from .bat file to script
The script below works nicely to get all of the remote files that match the filter.
I want to pass the date from a
and the
the date will replace the
Am I using the wrong syntax, or does this approach not work?
open ftp://username:password@host.remote.com/reports/ option confirm off get 20160630*close* close exit
.bat
file. The documentation seems to say if the get command is:
and the
.bat
file is something like:
winscp.com /script="script.txt" /xmllog="script.log" "20160701"
%1%
. But it doesn't work. I've tried lot of different versions of the above.
Am I using the wrong syntax, or does this approach not work?