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
- FTP
- You might look at Samba (http://www.samba.org)
- You can use SSH
精彩评论