"Opening session using command-line parameter in scripting is deprecated. Use 'open' command instead".
The .bat file simply contains:
Winscp.com /script = SFTPTest.txt
The SFTPTest.txt file contains:
# Connect to SFTP site
# Upload the file to current working directory
# Exit WinSCP
Any ideas how to get this working? My hope is to be able to schedule the .bat file to run daily to copy the file to the SFTP site.