使用 mput 使用 ftp 传输目录?

ric*_*lla 7 ftp command-line

无论如何说服 mput 将当前目录的所有子目录发送到服务器。我正在尝试编写一个脚本来在网站运行时自动更新网站。到目前为止我一直在尝试

 mput *   
Run Code Online (Sandbox Code Playgroud)

但这只会发送当前目录中的文件。

任何帮助,将不胜感激。

ric*_*lla 10

知道了。windows ftp 客户端不支持递归放置函数。但是,使用 ncftp:http ://www.ncftp.com/ 我可以进行递归放置mput -r *