Click an url and it will open a file? Survival problem

What's the best way to setup a home network? Why should I care about BGP?

Click an url and it will open a file? Survival problem

Post by gneu19891 on Thu Jun 20, 2013 7:25 pm
([msg=76197]see Click an url and it will open a file? Survival problem[/msg])

Can I do that:
I will click www.xxxxxx.com/x.doc
and my pc will open the file c:/x1.doc instead of download x.doc
or
browser will redirect www.yyyyyy.com/x1.doc

Plz help it is very important for me.
gneu19891
New User
New User
 
Posts: 1
Joined: Thu Jun 20, 2013 7:20 pm
Blog: View Blog (0)


Re: Click an url and it will open a file? Survival problem

Post by WallShadow on Sat Jul 06, 2013 8:04 am
([msg=76368]see Re: Click an url and it will open a file? Survival problem[/msg])

the first one is impossible. a computer must download the file prior to opening it. there are some files that instantly open (some pdfs do that), others must be downloaded.

second one is simple. you'd need a custom configured server which instead of reading and sending the file to the client, it sends an HTTP 301 Moved Permenantly redirect instead of the usual HTTP 200 Found which would normally be sent when a client requests the file
User avatar
WallShadow
Contributor
Contributor
 
Posts: 621
Joined: Tue Mar 06, 2012 9:37 pm
Blog: View Blog (0)



Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests