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

Using CFFILE To Upload a Full Directory

New Here ,
Jun 03, 2008 Jun 03, 2008
I am attempting to build a process to load multiple files from a directory. It is easy enough to use looping processes with multiple <input type="file".... tags (or even a single tag looped over multiple times) in both the form and the action page.

However, I want to use a single action to load all files in a specified directory on the client desktop to the server. Is there a standard process or does anyone know a CFC or CFX tag? Note, this will be used with both MX7 and CF 5 servers.

Thanks,
TOPICS
Advanced techniques
169
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 ,
Jun 03, 2008 Jun 03, 2008
LATEST
klltkd wrote:
> I am attempting to build a process to load multiple files from a directory. It
> is easy enough to use looping processes with multiple <input type="file"....
> tags (or even a single tag looped over multiple times) in both the form and the
> action page.
>
> However, I want to use a single action to load all files in a specified
> directory on the client desktop to the server. Is there a standard process or
> does anyone know a CFC or CFX tag? Note, this will be used with both MX7 and CF
> 5 servers.
>
> Thanks,
>


Unless you are working within a well defined network where ColdFusion
can access the client machine by UNC path, then ColdFusion is not
involved in this. You are looking for a client solution that will
create the upload. After that it looks the same to ColdFusion.

I am not personally aware of any client tools like you describe. There
are security concerns when one makes it too convienant to
programatically select what is uploaded to a remote computer.
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