Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8050171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:59:41+00:00 2026-06-05T06:59:41+00:00

If I try to list the files in an S3 directory using the built-in

  • 0

If I try to list the files in an S3 directory using the built-in S3 integration in ColdFusion 9, I get an exception when any of the files contains a % (percent) character. The full error message looks like this:

An error occurred when performing a file operation listFiles on file
/activities/18057/files.

The cause of this exception was:
org.apache.commons.vfs.FileSystemException: Unknown message with code
“Invalid URI escape sequence “%ui”.”..

I think this is a ColdFusion bug caused by overzealous character escaping, but can anyone with S3 integration try it themselves to confirm? I’m literally just doing this:

<cfset var files = directoryList("s3://my.bucket.path/somefolder/")/>

It works find for “normal” files, but fails as soon as one of the files has a % in its filename.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T06:59:42+00:00Added an answer on June 5, 2026 at 6:59 am

    This would appear to be a “bug” in Adobe CF9 (ACF9). If it’s not a bug, it’s certainly odd behavior as I tried the code in Railo 3.3.3.0001 (current release) and it works perfectly.

    I got the same error from ACF9 as you. In addition, ACF10 has the same error. I also tried in OpenBD but was not able to read the desired folder in my bucket (it read the main bucket, its files and listed the folder but was not able to get inside the folder). However, I’ve not used OpenBD a lot so this was probably more my error than anything else.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On MacOS using Mono, when I list files and dirs with Directory.GetFiles() I get
I am using the following to try and list all the files in a
Using following code I try to get updated list of checkbuttons' corresponding text values,
Using PHP, I scan a directory and list all of the .xml files. Each
I'm trying to get a directory listing of files on an ftp server using
I first want to get a list of files stored in an FTP directory
I am using enumeratefiles to list all the files in a directory. Its throws
I'm trying (Very simply) to get a file list of the camera directory using
When I try and save something to my list in SharePoint I get the
In ClearCase, you can list the content of a directory using cleartool ls. My

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.