Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?

2008-05-13 Thread Peyton Todd
- From: Mike Staver [EMAIL PROTECTED] Sent: Apr 25, 2008 1:55 AM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] How Load Files from Outside the Web Directory? Good point Shawn. I suppose as long as you have the proper security in the first place, it isn't much of an issue. shawn gorrell wrote

[ACFUG Discuss] How Load Files from Outside the Web Directory?

2008-04-24 Thread Peyton Todd
Hello. My site needs to load PDFs which are located in a different directory (in fact, on a different disk drive) than the one on which the site's web pages reside. In developing this by working as localhost on my own desktop PC at home, the following code works flawlessly: cfcontent file =

Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?

2008-04-24 Thread Mike Staver
Just off the top of my head and after a quick scan of your email here, I would suggest using cffile. Is it possible to use it copy the file into a loadable directory, atleast temporarily? I would think that no matter what, you won't want to throw up files on your site from a directory that is not

Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?

2008-04-24 Thread Peyton Todd
: [ACFUG Discuss] How Load Files from Outside the Web Directory? Hello. My site needs to load PDFs which are located in a different directory (in fact, on a different disk drive) than the one on which the site's web pages reside. In developing this by working as localhost on my own desktop PC at home

Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?

2008-04-24 Thread Cameron Childress
Are you trying to read a file on the server and send it to the browser? You keep saying firefox and IE are giving errors, but it's a CF error right? -Cameron On Thu, Apr 24, 2008 at 3:22 PM, Peyton Todd [EMAIL PROTECTED] wrote: Hello. My site needs to load PDFs which are located in a

[ACFUG Discuss] How Load Files from Outside the Web Directory - Corrected

2008-04-24 Thread Peyton Todd
(Reading through what I wrote, there were a few other errors, so I send this version to clear up possible confusion. Sorry.) My web site needs to load PDFs which are located in a different directory (in fact, on a different disk drive) than the one on which the site's web pages reside. In

Re: [ACFUG Discuss] How Load Files from Outside the Web Directory - Corrected

2008-04-24 Thread shawn gorrell
: Thursday, April 24, 2008 3:43:33 PM Subject: [ACFUG Discuss] How Load Files from Outside the Web Directory - Corrected (Reading through what I wrote, there were a few other errors, so I send this version to clear up possible confusion. Sorry.) My web site needs to load PDFs which are located

Re: [ACFUG Discuss] How Load Files from Outside the Web Directory - Corrected

2008-04-24 Thread Ajas Mohammed
We use shared folders and we refer these shared folders like this cfcontent file = \\1.1.1.1\someSharedFolder\Documents1.pdf where 1.1.1.1 is an ip addr and folder structure in windows is like this X:/*Shared*/someSharedFolder/Documents1.pdf and someSharedFolder is a shared folder. We have

Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?

2008-04-24 Thread Peyton Todd
implementation turns out to be much better than the choices made by FF.) -Original Message- From: Mike Staver [EMAIL PROTECTED] Sent: Apr 24, 2008 3:29 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] How Load Files from Outside the Web Directory? Just off the top of my head and after

Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?

2008-04-24 Thread Mike Staver
In windows land, you access network shares like so: \\servername\sharename Or in dos with the \'s as well, like cd C:\ I can't remember what CF will do that off the top of my head. Working with file systems in linux, it's a forward slash. Web URL's are also forward slashes. So, I would think

Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?

2008-04-24 Thread shawn gorrell
(file.cfm?fn=mypdf.pdf). That makes CF the intermediary so that you can ensure only authenticated users get it. - Original Message From: Mike Staver [EMAIL PROTECTED] To: discussion@acfug.org Sent: Thursday, April 24, 2008 4:18:46 PM Subject: Re: [ACFUG Discuss] How Load Files from Outside

Re: [ACFUG Discuss] How Load Files from Outside the Web Directory - Corrected

2008-04-24 Thread Peyton Todd
: Ajas Mohammed <[EMAIL PROTECTED]>Sent: Apr 24, 2008 4:01 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] How Load Files from Outside the Web Directory - Corrected We use shared folders and we refer these shared folders like this cfcontent file = "\\1.1.1.1\someSharedFolder\Doc

Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?

2008-04-24 Thread Darin Kohles
.) -Original Message- From: Mike Staver [EMAIL PROTECTED] Sent: Apr 24, 2008 3:29 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] How Load Files from Outside the Web Directory? Just off the top of my head and after a quick scan of your email here, I would suggest

Re: [ACFUG Discuss] How Load Files from Outside the Web Directory?

2008-04-24 Thread Peyton Todd
PROTECTED] Sent: Apr 24, 2008 4:18 PM To: discussion@acfug.org Subject: Re: [ACFUG Discuss] How Load Files from Outside the Web Directory? In windows land, you access network shares like so: \\servername\sharename Or in dos with the \'s as well, like cd C:\ I can't remember what CF will do that off