备份并上传到 FTP 服务器 [英] Backup and upload to FTP server

查看:40
本文介绍了备份并上传到 FTP 服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能指导我使用一个脚本解决方案来备份目录并将其上传到 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.

提前致谢,让

推荐答案

我很快就会做一个,但是 WinSCP 有一个 CLI 可以用来完成这个:
http://winscp.net/eng/docs/commandline

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

在 stackoverflow 和其他网站上有很多使用 WinSCP 的示例,例如:
使用 WinSCP 和命令提示符时的批处理文件
在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

您可以使用此网址获取更多示例:
https://stackoverflow.com/questions/tagged/batch-file+winscp

You can use this url get more examples:
https://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 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆