Importing Pages from Disk "The directory specified does not exist, or cannot be accessed"

Trying to import plain HTML file.

I am following all instructions and all conditions have been met as far as I can tell as per Atlassian page:

https://confluence.atlassian.com/display/DOC/Importing+Pages+from+Disk

- it is a Global Space

- I am logged in as System Admin

However, it doesn't work. I get the message "The directory specified does not exist, or cannot be accessed"

I have tried putting file in different folders (network, on my local drive) and with and without trailing "\"

What could possibly be missing or required to make this work?

2 answers

Hi Wavey,

Which value are you inserting in the "Import Directory" field? This field shall be filled with a server path. Confluence is unable to fetch files straight from your own computer (or a network location).

Best regards,
Lucas Timm

Aha, thanks, that is key information, though contrary to the instructions/info for this procedure:

"Confluence allows you to import text files from a disk or a directory on the Confluence server"

The sentence seems to give the following understanding:

1. from a disk (eg a hard drive, presumed to be desktop computer)

OR

2. from a directory on Confluence server.

But from your information, it appears it actually means:

1. from a disk (on Confluence server)

OR

2. from a directory on Confluence server.

Though a directory is on a disk on a server so hard to understand why there is distinction made.

Can you indicate what type of url/path that Confluence is expecting?

Probably something like:

\\servername\foldername\

Also, do I have to put file in to this?

\\servername\foldername\filename.txt

Thanks

In my case I export Confluence space into XML and want import this in anouther wiki.

Help this page - https://confluence.atlassian.com/doc/restoring-a-space-152036.html

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

439 views 6 11
Read article

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