开发者

How to wget a html file from a an administrative share on a Windows webserver

Is there anyway I am able to use wget in Unix to tr开发者_JS百科ansfer 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.


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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜