CFFile Upload in a Hosted Environment

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default CFFile Upload in a Hosted Environment

    I am in a hosted environment and am using the following code:

    <cftry>
    <cffile
    action="Upload"
    filefield="File1"
    destination="#CurrentDir#"
    nameconflict="OVERWRITE"
    accept="application/vnd.ms-excel">
    <cfset variables.Success="Uploaded.">
    <cfcatch type="Any">
    <cfoutput> <b>Error</b><br>
    <cfdump var="#cfcatch#">
    </cfoutput>
    <cfabort>
    </cfcatch>
    </cftry>

    However, the file is not being saved and the CFCATCH logic is not being
    executed. I suspect this is a CF Admin setup or security issue. Anyway to tell
    what is going on?

    zz3top Guest

  2. Similar Questions and Discussions

    1. CFFILE problem in clustered environment
      Hello, I'm having a bit of a problem here... ever since our tech department upgraded our webserver to a clustered environment, CFFILE does not...
    2. CFFILE Upload
      Hi, i would build an upload form for pictures. how can i limit the upload to the size attributes (width & height) of the picture? the user should...
    3. CGI upload to CFFILE
      Hello, I find that there is a security feature that does not allow the prefilling of the path in a form "<input type="file" name="fieldname">" tag....
    4. CFFILE Upload with Animation
      Hello, is anyone aware of how to provide an animation progress bar in conjunction with a CFFILE upload? I would appreciate any leads. Thank you.
    5. Using key-pairs in a hosted environment
      Hi We have a requirement to process "digitally signed" XML-based software licenses using an ASP.NET web site, hosted on an ISP server. I read an...
  3. #2

    Default Re: CFFile Upload in a Hosted Environment

    Has the cffile tag been disabled? If your hosting provider is only running cf mx pro then they may well have done as it can cause all kinds of problems - suggest you give them a call
    kabod Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139