Sorry, it should have been "test", not "text".
- martin
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
so I need to see the script log file for text with the ls command
ls
command (the same as you have posted already). And a log file from the GUI, showing how you refresh the remote directory immediately after the scripted upload.
I do not see any problem in the log.
The output on the console says 0B because the files are indeed empty.
Can you add XML logging to the code and listing of the remote directory after the upload?
C:\PROGRA~1\WinSCP\WinSCP.exe /log=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_outbound.log /xmllog=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_outbound.xml /command "open sftp://applegreen:[Password]@217.37.98.165" "put K:\DATA\FTP\Savage_and_Whitton\SiteOrders /orders" "ls /orders" "exit"
And attach both the.log
and the.xml
Can you also show logs from the Windows 7 for a comparison? (and with XML and thels
).
C:\PROGRA~1\WinSCP\WinSCP.exe /log=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_outbound.log /xmllog=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_outbound.xml /command "open sftp://applegreen:[Password]@217.37.98.165" "put K:\DATA\FTP\Savage_and_Whitton\SiteOrders /orders" "ls /orders" "exit"
.log
and the .xml
ls
).
/log=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_inbound.log /command "open sftp://applegreen:[Password]@217.37.98.165" "get /deliverynotes K:\DATA\FTP\Savage_and_Whitton\EDN" "exit"
C:\PROGRA~1\WinSCP\WinSCP.exe /log=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_inbound.log /command "open sftp://applegreen:[Password]@217.37.98.165" "get /deliverynotes K:\DATA\FTP\Savage_and_Whitton\EDN" "exit"
/log=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_outbound.log /command "open sftp://applegreen:[Password]@217.37.98.165" "put K:\DATA\FTP\Savage_and_Whitton\SiteOrders /orders" "exit"
C:\PROGRA~1\WinSCP\WinSCP.exe /log=K:\DATA\FTP\Savage_and_Whitton\Logs\winscp_outbound.log /command "open sftp://applegreen:[Password]@217.37.98.165" "put K:\DATA\FTP\Savage_and_Whitton\SiteOrders /orders" "exit"