I searched for help to this in forum, but did not see this exact problem so pardon me if I missed it. When I run this file from a dos prompt it works just fine.
here is what is in myfile.txt
option echo off
option batch abort
option confirm off
put -nopermissions -resumesupport=off -nopreservetime \folder\folder\408921_20150107154000.txt
If an unattended process runs it like a task schedule or batch file or a c++ program shelling out to a dos prompt or I have tried just about everything it never really does or 'put's anything, I can see it connect, but the put just zooms right passed and does nothing, but if I run it from a dos prompt as above I can see it do everything. It is like my put is not working.
Any ideas? Thanks so much
WinSCP V5.5.1(build 3970)