-
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
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 =
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
: [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
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
(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
: 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
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
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
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
(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
: 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
.)
-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
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
14 matches
Mail list logo