Windows 脚本主机中的 FTP 文件?
通过 FTP 传输文件并在 Windows 脚本主机脚本文件 (JavaScript/VBScript) 中以编程方式管理(重命名、移动、删除)FTP 服务器中的文件的推荐方法是什么?最好不需要第 3 方 ActiveX 附加组件,因为这些“额外”软件将需要经过一个需要很长时间的批准过程,即使是免费(如啤酒)和/或开源组件也是如此。
该脚本将在数据中心环境中的 Windows 2003 Server 中运行。
谢谢。
What is the recommended way to transfer files via FTP and manage (rename, move, delete) files in an FTP server programmatically in a Windows Scripting Host script file (JavaScript/VBScript)? Preferably without requiring 3rd party ActiveX add-ons since these "extra" software will need to go through an approval process that will take a very long time, even for free (as in beer) and/or open source components.
The script is going to be run in a Windows 2003 Server in data center environment.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我知道无需第三方组件即可完成此操作的唯一方法是将 Shell 转换为 ftp.exe。
您可以将一系列 FTP 命令放入文本文件中,然后:-
The only way I know that you can do it without third party components is to Shell to ftp.exe.
You would place a series of FTP commands in a text file then:-