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

  1. #1

    Default FIle upload trouble

    I am using CFFILE to upload files to my server. Since upgrading to CF7 we are
    unable to upload any file bigger than about 2MB. Before the upgrade there were
    no issues. When we try to upload a larger file we get an HTTP_505 error. I
    have looked all through the CF administration pages and can't find any settings
    related to file upload size. Any help would be appreciated.

    MDT_CMH Guest

  2. Similar Questions and Discussions

    1. How to upload a file to 2 FTP sites without an upload component for company
      Hi All I can't get round this because it's a local government thing, but I've done a CMS for a school (in ASP classic) that allows them to upload...
    2. Upload Friendly (Multiple File Upload Applet)
      Title : Upload Friendly (Multiple File Upload Applet) Description : UploadFriendly is an easy to use Java Applet that will allow multiple file...
    3. LWP - multipart/form-data file upload from scalar rather than local file
      I'm looking to do an HTTP upload, preferably with HTTP::Request::Common, but get the file data from either a filehandle or a scalar rather than...
    4. File upload form trouble
      Can anyone tell me why the file field is not uploading attachments on this page. I did everything in the...
    5. how to upload an image selected from html file to flash file?
      Hello, I have one html file and a flash file. In html file, it is functioning like choosing a Tshirt to design, then how to load that Tshirt picture...
  3. #2

    Default Re: FIle upload trouble

    Hi,
    Havent used CF 7 yet saddly, however, this may be a caching issue - could be
    worth checking the CFAdmin caching section (no idea what it's called in 7,
    sorry!) and switch of trusted cache. Aside from that, it could be a header
    issue with the uploading files.

    Have you tried different file types as well as different sizes?

    checked encoding settings on the upload form?

    Cheers,
    Aegis


    A3gis Guest

  4. #3

    Default File upload trouble

    I need to upload many diffrent types of files into my mssql database (no I can
    not save the file into a directory and just write the path to my db). All works
    great for most files untill I try to upload a msword or pdf file with a table
    in it. Here is the code and error.

    code:
    <cffile action="readBinary" file="#file.serverDirectory#\#file.serverFile#"
    variable="myFile">

    <cfquery name="insertFile" datasource="KFS">
    INSERT INTO TestUpload(fileName, Type, fileData, Size)
    VALUES(#cffile.serverFile#, #cffile.Type#, '#ToBase64(myFile)#',
    #cffile.Size#)
    </cfquery>

    ERROR: Unclosed quotation mark before the character string




    James@nps Guest

  5. #4

    Default Re: File upload trouble

    I figured out this is a size issue, what is the best way to add large documents
    to a mssql database? I have the database column set to "TEXT" I have tried
    using the blob but it would not work for mssql. Any ideas for uploading larg
    files?

    James@nps 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