<CFDirectory action="list" directory="C:\yourdirectory\subdirectory\" name
="getFiles">

<cfoutput query="getFiles">
     <a href="http://www.whatever.com/somedirectory/#getFiles.Name#";>
#getFiles.Name#</a><br>
</cfoutput>


If  you're just wanting jpg's:

<CFDirectory action="list" directory="C:\yourdirectory\subdirectory\" name
="getFiles" filter="*.jpg">

<cfoutput query="getFiles">
     <img src="http://www.whatever.com/somedirectory/#getFiles.Name#";>
</cfoutput>


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                            
                    DuSTiN KRySaK                                                      
                            
                    <[EMAIL PROTECTED]        To:     CF Mailing List <[EMAIL 
PROTECTED]>                     
                    ot.com>              cc:                                           
                            
                                         Subject:     [ cf-dev ] Cf to display 
directory contents                  
                    02/04/2003                                                         
                            
                    01:08                                                              
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    dev                                                                
                            
                                                                                       
                            
                                                                                       
                            



Is it possible somehow to get CF to look in a predetermined directory on
the
server, and make links to those files in the page?

I am also looking to do the same (in a separate folder on the web server)
, but have CF display JPG's on a page.

 d


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to