Changing ColdFusion temporary folder for file uploads

Discussion in 'Programming' started by rubix3, Apr 28, 2007.

  1. #1
    Hi there,

    I have ColdFusion setup and we've had to re-install it and now when ever we try to do an image upload CF thinks that it should use:
    c:\documents and settings\administrator\LocalService\temp when infact it should be using c:\cfusionmx\temp.

    I have tons of sandboxes all setup allowing access to c:\cfusionmx\temp and would like to tell ColdFusion to use that folder instead. Trouble is I can't find where to do that. Where is the config file that would do this?

    Thanks so much.
     
    rubix3, Apr 28, 2007 IP
  2. WillBMX

    WillBMX Guest

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What framework are you using?
     
    WillBMX, May 1, 2007 IP
  3. IsRoss()

    IsRoss() Peon

    Messages:
    116
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I don't think frameworks have anything to do with the solution for this matter; it lies in the cf administrator xml config files somewhere, although I don't know where. I would try the Adobe/CF forums if nothing bubbles up here...
     
    IsRoss(), May 1, 2007 IP
  4. WillBMX

    WillBMX Guest

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Your right, its probably not relating to the framework. But to figure the problem you need more information.

    Possible factors include:

    What framework he is using.
    What are the permissions on the files involved in the process
    Double check for any errors in the code.

    It could be anything.

    I was just looking for more information before diagnosing the "problem".

    EDIT: I looked all at the cf admin page, and I didn't see anything that led me to believe it was there. I also checked all of the .xml files and didn't see anything interesting.

    Try uninstalling and reinstalling Coldfusion. Make sure it is in the right spot. If you need more assistance, please post the code that does the image upload.
     
    WillBMX, May 2, 2007 IP