谁能指导我一个脚本解决方案来备份目录并将其上传到 ftp 服务器?
我最初正在寻找批处理脚本,但任何解决方案都可以,只要它是开源的。
提前致谢,
让
我很快就会开发一个,但 WinSCP 有一个 CLI,您可以使用它来完成此任务:
http://winscp.net/eng/docs/commandline http://winscp.net/eng/docs/commandline
stackoverflow 和其他网站上有很多使用 WinSCP 的示例,例如:
使用 WinSCP 和命令提示符时的批处理文件 https://stackoverflow.com/questions/9692691/batch-file-when-using-winscp-and-command-prompt
在winscp中执行批处理文件时出现问题 https://stackoverflow.com/questions/5382964/problem-in-executing-the-batch-file-in-winscp
您可以使用此网址获取更多示例:
https://stackoverflow.com/questions/tagged/batch-file+winscp https://stackoverflow.com/questions/tagged/batch-file+winscp
请记住,WinSCP 并不是唯一的解决方案,它是我在工作中使用的解决方案:)。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)