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

0 vote
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.

0 vote
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?

0 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,941 views 27 12
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