Forum

Requirements and hy...
 
Notifications
Retirer tout

Requirements and hyperlink to a file

7 Posts
3 Utilisateurs
0 Reactions
12.2 K Vu
 ask
(@ask)
Posts: 11
Eminent Member
Début du sujet
 
[#699]

How do you specify a hyperlink to a file? I've tried specifying file:/// without any success.


 
Posté : 03/10/2012 3:35 pm
Evgueni Kolossov
(@ekolossov)
Posts: 566
Prominent Member
 

I thought this should work the same way as URL but it is not...

Regards,
Evgueni


 
Posté : 04/10/2012 3:23 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Hyperlinks are only http links.

So, either it is a remote link (on the web) or you have to put in in the application web directory structure.
Using file could be wrong many time : you could point out to a local file which would only be valid for you.


 
Posté : 04/10/2012 4:54 pm
 ask
(@ask)
Posts: 11
Eminent Member
Début du sujet
 

Well what i was looking to do is link to a file on a shared network folder 😉 - that way if the file updates i don't have to also update the file attached to the requirements entry in projectorria


 
Posté : 10/10/2012 6:18 pm
Evgueni Kolossov
(@ekolossov)
Posts: 566
Prominent Member
 

Actually very good idea!


 
Posté : 11/10/2012 11:12 am
(@babynus)
Posts: 14952
Membre Admin
 

I'm not sure it is possible.
I get error "Not allowed to load local resource" even when pointing put to remote file.
I'll have a look.


 
Posté : 12/10/2012 1:42 am
(@babynus)
Posts: 14952
Membre Admin
 

I just verified : access via file:// protocole in html tags or via javascript has been banned in modern browser for security reason.
So it is impossible to acces a remote file via file:// from a web page, although it is possible to do it if you enter the link in the brower address area.
I also tried a window.open to the remote file:// link : still blocked with message "Not allowed to load local resource".
So it will not be possible.
Request is cancelled.


 
Posté : 13/10/2012 6:40 pm
Share:
Retour en haut