Skip to main content
Participant
October 24, 2008
Question

upload folder/.zip to CF server using CF 7.x

  • October 24, 2008
  • 1 reply
  • 260 views
I am trying to allow a user to select a folder on their PC in order to upload all the files in that folder to the ColdFusion server. I have tried cfinput type = file. That won't allow me to select multiple files. I thought cfftp was the answer but it seems that only goes between the coldfusion server an the FTP server. Anyone have a possible solution?
    This topic has been closed for replies.

    1 reply

    Inspiring
    October 24, 2008
    cr6137 wrote:
    > Anyone have a possible solution?

    With HTML - Start a campaign to get one or more of the browser makers to
    provide a form control that allows the uploading of multiple files when
    a user selects a folder.


    Until that happens you are limited to:

    A) Create multiple upload boxes that the user completes, one file per
    box. With a bit of DHTML it is easy enough to make this dynamic so the
    user can add more uploaded boxes to the form as desired.

    B) Look for some of the ActiveX or Flash or Java plug-ins that have been
    built that may allow functionality something like this.

    C) Create an 'ftp://...' link and|or teach the users to use ftp clients.

    HTH
    Ian