Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CF form element to select multiple files?

Guest
Jul 23, 2010 Jul 23, 2010

Does Coldfusion have any tag that will generate some kind of form element for selecting multiple files to upload? I want something where the user can select multiple files at once rather than creating a bunch of inputs with type="file".

TOPICS
Getting started
961
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 24, 2010 Jul 24, 2010

It was introduced in version 9.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 24, 2010 Jul 24, 2010

what was introduced in CF9 that allows a user to select multiple files at once?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 25, 2010 Jul 25, 2010

Have a look at the docs regarding what CF offers by way of form controls:

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec17576-7ffc.html#WSc3ff6d0ea77859461172e0811cbec22c24-7781

The docs are always a good place to start when wondering about what capabilities CF has.

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 27, 2010 Jul 27, 2010
LATEST

thanks. i found the right cf form element. However, I am having problems getting it to work within the fusebox framework. I keep getting the status code 500, and the image does not get uploaded. Would you have any guesses as to why it doesn't work?

Here is the code in my view file:

<cffileupload url="index.cfm?fuseaction=app.uploadImagesProcess" />

and here is the code for the resulting fuseaction:

<cfset uploadFolderPath = "C:\ColdFusion9\wwwroot\WebApp1\uploads" />

<cffile action="uploadall" destination="#uploadFolderPath#" nameconflict="makeunique" />

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources