Skip to main content
Inspiring
April 11, 2008
Question

Upload files to a directory and creating links

  • April 11, 2008
  • 1 reply
  • 330 views
Hello.

Anyone know of a good script where you can upload documents (word, excel) to a website directory and then have a page automatically create links of the documents from the directory where the Word and Excel docs are?

Maybe the ability to control which links are shown and not would be nice too.

Thanks.

Simon
    This topic has been closed for replies.

    1 reply

    Inspiring
    April 11, 2008
    Use cffile to upload the documents.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=3&threadid=1351245

    Use cfdirectory to query your target directory and cfoutput to list the query results for your list of links.
    See attached sample code.