Displaying a test file from server on confluence page

If I have a text file "file.txt"on a server "fileserver-1" how would I go about displaying that file on a confluence page? The file "file.txt" would be regularly updated and I would want to display the most current version on confluence everytime someone views the page

3 answers

This widget could not be displayed.
Peter Koczan Atlassian Team Jun 16, 2013

Hi,

Is the file in question located on a file share or can you publish it on a webserver? If you can use a webserver, I'd suggest the HTML include macro otherwise an option would be to use a simple HTML macro instead and create an <iframe>, linking to the file specifically.

Kind regards,

Peter

The file is stored localloy on a server that isn't a webserver. The file would be stored at \\fileserver-1\c\user\genuser\file.txt I had though of using the csv macro for this but I am running into a few issues with a security macro.

This widget could not be displayed.
Peter Koczan Atlassian Team Jun 16, 2013

How about embedding this in an iframe? This would make sure if a client-machine has access to the file directly, the file will be displayed for them within the iframe too.

How would I set up iframe?

This widget could not be displayed.
Peter Koczan Atlassian Team Jun 23, 2013

Hi,

For that you can use the iframe macro for example: http://www.adaptavist.com/display/AtlassianConfluence/iframe+macro

Or simply use the HTML macro (Confluence built-in) and write the iframe yourself (http://www.w3schools.com/html/html_iframe.asp).

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

460 views 6 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you