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 votes
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 votes
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 votes
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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,121 views 17 14
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