Here is the winscp.com using the /command in the .bat file:
winscp.com /command ^
"open ftp://firstname.lastname@example.org/" ^
"cd /edgar/data/1618921" ^
"get 0001567619-16-001640.txt c:\Users\Laurel\Documents\testthis.txt" ^
I had also tried running it as winscp.com /script but it behaved the same way.
The code in the .txt script file is this:
option transfer binary
get 0001567619-16-001640.txt c:\Users\Laurel\Documents\testthis.txt
the code in the .bat file to run the script is this:
Thanks for you help!