实施思路
在Windows Server安装OpenSSH服务,实现sftp的加密传输,客户端安装具备命令行脚本上传功能的WinSCP客户端,利用计划任务执行命令行方式实现文件上传
测试环境
服务器Windows 2008 R2
客户端Windows 10
程序下载地址
https://github.com/PowerShell/Win32-OpenSSH/releases/ //用于开启Windows服务器SSH功能
https://winscp.net/eng/downloads.php //用于客户端上传软件用
参考操作方式
https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH