问题描述
任何人都可以直接我的脚本解决方案,使一个目录,并上传到FTP服务器的备份?
Can anyone direct me to a script solution that makes a backup of a directory and uploads it to an ftp server?
我正在寻找一个批处理脚本开始,但任何解决方案会做的,只要它是开源的。
I was searching for a batch script initially but any solution would do, as long as it is open source.
在此先感谢,
让
Thanks in advance,Jean
推荐答案
我会在一个工作不久,但WinSCP赋予具有CLI,您可以使用来实现:结果
I'll be working on one soon, but WinSCP has a CLI that you can use to accomplish this:
http://winscp.net/eng/docs/commandline
有使用上的WinSCP计算器和其他网站一样,很多例子:结果
Batch WinSCP赋予使用时,文件和命令提示符结果
Problem在执行中的WinSCP
There are plenty examples using WinSCP on stackoverflow and on other sites, like:
Batch file when using WinSCP and command prompt
Problem in executing the batch file in winscp
您可以使用此网址获得更多的例子:结果
http://stackoverflow.com/questions/tagged/batch-file+winscp
You can use this url get more examples:
http://stackoverflow.com/questions/tagged/batch-file+winscp
请记住的WinSCP是不是这个唯一的解决办法,那就是我在工作中使用的一种:)
Please keep in mind WinSCP isn't the only solution for this, it's the one that I use at work :).
这篇关于备份并上传到FTP服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!