You need to first upload it to Confluence to have it store it the way it needs to (there are indexes and db entries for each attachment, and the final storage location for the file). You cannot make Confluence process your local file system data - that's just a security hole.
Now you could expose certain file system directories through your web server, but that has nothing to do with Confluence as an application.
Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events