Skip to main content
Participant
Apr 7, 2024 10:29 AM UTC
Answered

Not able to download file after upgrade from CF2018 to CF2023

I recently upgraded from ColdFusion 2018 (CF2018) to ColdFusion 2023 (CF2023). However, I've encountered an issue where I'm unable to download files within the new version. Despite completing the upgrade process, attempts to initiate file downloads are failing.

Message The requested resource [/path/file_name.csv] is not available

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

 

    This topic is closed to new replies. Start a new post to keep the conversation going.
    BKBK
    BKBKCorrect answer
    Community Expert
    Apr 7, 2024 12:12 PM UTC

    Some suggestions:

    1. Manually verify whether the file is still where it is supposed to be.
    2. A common mistake is to have '/ColdFusion2018/cfusion' hardcoded in file paths, instead of the general "#server.coldfusion.rootdir#". So check your code and make sure the file-path is still valid. 
    3.  Check whether the file is located in a folder where permissions are required?

    1 reply

    BKBK
    Community Expert
    BKBKCommunity ExpertCorrect answer
    Community Expert
    Apr 7, 2024 12:12 PM UTC

    Some suggestions:

    1. Manually verify whether the file is still where it is supposed to be.
    2. A common mistake is to have '/ColdFusion2018/cfusion' hardcoded in file paths, instead of the general "#server.coldfusion.rootdir#". So check your code and make sure the file-path is still valid. 
    3.  Check whether the file is located in a folder where permissions are required?
    Translate