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

有帮助吗?

解决方案

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 :).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top