Im using the FileUtils.copyDirectory method but it gives me the error of "Failed to list contents of foldername". I know the folder exists and I can write there because creating a file works.

What could be wrong?

Recommended Answers

All 2 Replies

Stacktrace. I thought it was obvious that foldername was a placeholder, sorry.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.