Skip to main content
Participant
April 7, 2024
Answered

Not able to download file after upgrade from CF2018 to CF2023

  • April 7, 2024
  • 1 reply
  • 273 views

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 has been closed for replies.
    Correct answer BKBK

    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
    April 7, 2024

    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?