Backup and upload to FTP server [closed]

浪子不回头ぞ 提交于 2020-01-21 10:33:34

问题


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


回答1:


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

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

You can use this url get more examples:
https://stackoverflow.com/questions/tagged/batch-file+winscp

Please keep in mind WinSCP isn't the only solution for this, it's the one that I use at work :).



来源:https://stackoverflow.com/questions/23563461/backup-and-upload-to-ftp-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!