Right, so Im assuming the webserver does not have access to the directory
and therefore you cant just use cfdirectory.

Some ideas:

Use frames

Use javascript to popup a window with no address bar

Setup a website with a home directory set to use that directory

Setup a share on the server e.g. so that users cant see the "real" share.
\\Viahealth08\Pharmacy\


-----Original Message-----
From: Claremont, Timothy [mailto:[EMAIL PROTECTED]
Sent: 11 July 2005 17:05
To: CF-Talk
Subject: RE: Simple Directory Listing


Thanks, Jerry,

I made a couple of syntax correction to your suggestion, but I get a
"Connection Failure" on the result page.

Note that if I merely copy and paste the URL into the browser it works
just fine, so I know I can "see" the URL.


Subject: Simple Directory Listing
From: Jerry Johnson <[EMAIL PROTECTED]>
Date: Mon, 11 Jul 2005 11:37:05 -0400
Thread:
http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid
=41104&forumid=4#211540

Crude, but...

<form action="dirListing.cfm" method="post" target="_new" <input
type="hidden" name="folderURL" value="\\Viahealth08\ILS\Shared\All
Departments\HIM-IS\Utilization Data\Pharmacy Reports\"> <input
type="submit" value="Pharmacy Reports"> </form>

then make a dir_listing.cfm page
<cfparam name="folderURL" default="">

<cfhttp url="#folderURL#"> <cfoutput>#cfhttp.fileContent#</cfoutput>

Jerry Johnson







**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please delete it
from your system.

This footnote also confirms that this email message has been swept for
the presence of computer viruses.

Thank You,
Viahealth
**********************************************************************




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211547
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to