put command not working all the time
Hello,
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
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)
Windows 7
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.
c:\WinSCP.com /script=myFile.txt
option echo off option batch abort option confirm off open sftp://101-05:??????@sftp.????????.com put -nopermissions -resumesupport=off -nopreservetime \folder\folder\408921_20150107154000.txt close exit
Any ideas? Thanks so much
WinSCP V5.5.1(build 3970)
Windows 7