[xwiki-users] Link to a file in local file system
Hi, Isnt there a way to link to a file on the local file system? I tried using both the WYSIWYG editor and the creole syntax and both dont work. I know i can link to an attachment but thats not what i want. I want to add a hyperlink to a document that links to a file that is somewhere on the C: drive. Is this possible? Im using the latest version of xwiki downloaded yesterday. Thanks
If you limit browser list to IE, you can used URL like file://C:/somewehre/somefile.doc Or else store your file file in webapps/xwiki but not in WEB-INF folder Arnaud 2010/1/9 Ziggy <[email protected]>:
Hi,
Isnt there a way to link to a file on the local file system? I tried using both the WYSIWYG editor and the creole syntax and both dont work. I know i can link to an attachment but thats not what i want. I want to add a hyperlink to a document that links to a file that is somewhere on the C: drive. Is this possible?
Im using the latest version of xwiki downloaded yesterday.
Thanks _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi, Yes it looks like it does work with IE. I was using Firefox which is my main browser. I will try storing the files in webapps/xwiki and see if that will make any difference. Thanks On Sat, Jan 9, 2010 at 10:18 PM, Arnaud bourree <[email protected]>wrote:
If you limit browser list to IE, you can used URL like file://C:/somewehre/somefile.doc Or else store your file file in webapps/xwiki but not in WEB-INF folder
Arnaud
2010/1/9 Ziggy <[email protected]>:
Hi,
Isnt there a way to link to a file on the local file system? I tried using both the WYSIWYG editor and the creole syntax and both dont work. I know i can link to an attachment but thats not what i want. I want to add a hyperlink to a document that links to a file that is somewhere on the C: drive. Is this possible?
Im using the latest version of xwiki downloaded yesterday.
Thanks _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Ziggy, Actually that doesn't work on ff because it's a security issue: it cannot let web pages just access random files on your computer (see http://kb.mozillazine.org/Links_to_local_pages_don%27t_work ). It's a security issue in general, not only for firefox, that's why linking to a file on the local filesystem does rarely make sense in web applications. Moving them to the webapps/xwiki will not make things better for the file:// links, but instead you'd be able to write links like: http://yourHost/xwiki/file.ext and they would work (on IE too). Happy hacking, Anca On 01/10/2010 02:25 PM, Ziggy wrote:
Hi,
Yes it looks like it does work with IE. I was using Firefox which is my main browser. I will try storing the files in webapps/xwiki and see if that will make any difference.
Thanks
On Sat, Jan 9, 2010 at 10:18 PM, Arnaud bourree<[email protected]>wrote:
If you limit browser list to IE, you can used URL like file://C:/somewehre/somefile.doc Or else store your file file in webapps/xwiki but not in WEB-INF folder
Arnaud
2010/1/9 Ziggy<[email protected]>:
Hi,
Isnt there a way to link to a file on the local file system? I tried using both the WYSIWYG editor and the creole syntax and both dont work. I know i can link to an attachment but thats not what i want. I want to add a hyperlink to a document that links to a file that is somewhere on the C: drive. Is this possible?
Im using the latest version of xwiki downloaded yesterday.
Thanks _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Anca Luca -
Arnaud bourree -
Ziggy