Mime Type for swf when using cffile?

Ask a Question related to Coldfusion Flash Integration, Design and Development.

  1. #1

    Default Mime Type for swf when using cffile?

    I have been using cffile to upload PDF flyers when entering a training event on
    my company's website. I now want to upload swf flyers made from Flashpaper and
    I need to know the Mime type for the cffile function. I have been using
    '<cffile action='upload' filefield='FileToUpload'
    destination='c:\inetpub\wwwroot\pdf' nameconflict='overwrite'
    accept='application/pdf' attributes='normal'>' and this deosnt seem to work
    '<cffile action='upload' filefield='FileToUpload'
    destination='c:\inetpub\wwwroot\pdf' nameconflict='overwrite'
    accept='application/pdf, application/swf' attributes='normal'>' oh by the way
    im on ColdFusion 6.1 but am about to install version 7 in a few weeks... thx

    fivefiveSouth Guest

  2. Similar Questions and Discussions

    1. MIME type for .dat
      i am using CFFILE to upload a tab delimited text file with a .dat extension and i want to restrict the file type to this using the accept argument...
    2. MIME error from CFFILE Upload
      Hi all, this may seem like a silly question and maybe I'm missing something here, but when I limit the MIME types I 'accept' through CFFILE...
    3. Incorrect mime type
      I've been using CFFILE to upload files with the accept type set to "text/*" to upload RTF files. Recently, some users are getting an error message...
    4. MIME type Error
      I have a cffile upload which accepts only rtf files. The code on the action form is: <cffile action='upload' filefield='Form.file_upload'...
    5. MIME-type to file extension
      Hello. Is there any facility that will help one map a MIME-type to a file extension or extensions? E.g. 'image/jpeg' should map to ('jpg',...
  3. #2

    Default Mime Type for swf when using cffile?

    I have been using cffile to upload PDF flyers when entering a training event on
    my company's website. I now want to upload swf flyers made from Flashpaper and
    I need to know the Mime type for the cffile function. I have been using
    '<cffile action='upload' filefield='FileToUpload'
    destination='c:\inetpub\wwwroot\pdf' nameconflict='overwrite'
    accept='application/pdf' attributes='normal'>' and this deosnt seem to work
    '<cffile action='upload' filefield='FileToUpload'
    destination='c:\inetpub\wwwroot\pdf' nameconflict='overwrite'
    accept='application/pdf, application/swf' attributes='normal'>' oh by the way
    im on ColdFusion 6.1 but am about to install version 7 in a few weeks... thx

    fivefiveSouth Guest

  4. #3

    Default Re: Mime Type for swf when using cffile?

    Hi

    use this:

    application/x-shockwave-flash swf

    this will work.
    vkunirs Guest

  5. #4

    Default Re: Mime Type for swf when using cffile?

    Thanks. That worked when I removed the swf portion (ex. application/x-shockwave-flash).

    :)
    fivefiveSouth 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