Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Now I am successfully using WebClient.DownloadString to get file content from ESX server. My URI is something like:

https://<ip>/folder/<file-path>?dcPath=ha-datacenter&dsName=<datastore-name>

But how can I get a content of a hidden file (e.g. '.myfile')? I have the 404 or Not Found error message when I receive a response from the server. And nothing happens when I open this url in my browser. May be there is exist a parameter like 'dcPath' (datacenter path) or 'dsName' (datastore name) for ESX https request to receive a content of a hidden file. Or may be there are ESX server's settings that enable receiving hidden files through the https?

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Web servers usually identify file types based on the file extension and treat them accordingly... and will refuse to serve unknown files. I don't know if this is your case, but the web server could very well not be configured to handle a file called ".something", which in its view would be of a unknown type (regardless of it being hidden or not).

share|improve this answer

It looks like that the answer is that I can't download a hidden file over https. The details are here.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.