Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the public wifi network, I can't download files with http links but I can use https links. How can I download a file served with http? A solution I have proposed is to convert the link from http to https but I have no idea how it's done.

share|improve this question
    
Is this some network applied restriction? Or do you want to force yourself to download through secure channels only? – Mario Aug 12 '13 at 9:54
    
they have restricted. but i need to download a file immediately . please help me :-) – Lakmal Vithanage Aug 12 '13 at 9:57
    
What kind of file are we talking about? Text? Or some binary data? – Mario Aug 12 '13 at 9:58
    
A movie. .MKV about 700mb size. – Lakmal Vithanage Aug 12 '13 at 10:02
1  
You say you can use https links - do you mean that that content which is offered readily with https links works ok? Does the server the video file is on serve anything over https? If not, you'd need to request them to start offering service also over secured connection. Not all HTTP servers have HTTPS enabled... – zagrimsan Aug 12 '13 at 10:20

It sounds like you are trying to get around a transparent proxy that is blocking things on normal unencrypted HTTP but not doing anything with HTTPS.

There is no simple way to "redirect" HTTP links to HTTPS purely from the client end. The server in question must support sending the content through HTTPS on their end, and from the client end you can't do anything or make the server do what it isn't configured to do.

Some sites redirect users that go to an http:// version of their site to an https:// version. What is happening is the web server on their end is issuing a 302 Redirect or similar in response to your HTTP query, causing your browser to redirect to their HTTPS site automatically. Without the server ready/willing to do this you can't do it yourself.

So you will need a proxy or similar outside of the network to accomplish what you are trying.

share|improve this answer

You need something like a reverse proxy to get insecure content and serve it over a secure connection.

Similar question (but about images): http://stackoverflow.com/questions/36381612/easy-reverse-proxy-for-serving-images-over-ssl

There's a number of answers there - but the short answer is that you need another server.

An alternative, which I ONLY recommend if you have an actual emergency, is to connect to Tor and download the file over Tor. The reason for not recommending this is that Tor is that it will needlessly strain the network and the file transfer will most likely be excruciatingly slow.

UPDATE: Another option is to use a VPN or a public proxy. However, again, this requires another server between you and the file.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .