如何从 Windows Web 服务器上的管理共享获取 html 文件

发布于 2024-11-16 19:30:36 字数 228 浏览 8 评论 0原文

无论如何,我可以在 Unix 中使用 wget 从 Windows 管理共享传输 html 文件吗?

我尝试访问的文件路径类似于示例:

www.webserv.com/share$/reportfolder/index.html

这是在操作系统上创建监控脚本的一种非常笨拙的方法,无需使用curl / Nagios / extra Perl 模块。

给予的任何帮助将不胜感激。

Is there anyway I am able to use wget in Unix to transfer a html file from a Windows administrative share?

The file path I am trying to access is like the example:

www.webserv.com/share$/reportfolder/index.html

This is a very obtuse way of creating a monitoring script on a OS without the use of curl / Nagios / extra perl modules.

Any help given will be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

£烟消云散 2024-11-23 19:30:36

Wget 仅适用于 http、https 和 ftp 协议(手册页)

如果您需要从 Unix 访问 Windows 文件,您有多种选择

  1. FTP
  2. 您可以查看 Samba (http://www.samba.org)。 samba.org
  3. 你可以使用SSH

Wget works only with http, https, and ftp protocols (man page)

if you need to access Windows files from Unix, you have several choices

  1. FTP
  2. You might look at Samba (http://www.samba.org)
  3. You can use SSH
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文