Thanx Dave
yes and yes. Please look my simple script(viewfiles.cfm):
cfset namefile=Fresno_#CreateUUID()#.doc
cfcase value=doc
cfheader name=Content-Disposition value=inline;filename=#namefile#
cfcontent type=application/msword file=#namefile#
/cfcase
IE show me a screen with save and cancel
files in another server/directory outside CF server
Using CFCONTENT and CFHEADER with MS Word files show me a
Save/Download screen in IE. Please look my simple code:
view_files.cfm?fileX=file://CA_LA_Fresno/systems/Fresno2004_12.doc
in view_files I remove file: and change / bar to \ bar
but displaying all files in Mozilla works fine. But with IE that same
code, same link, same properties don't. IE displays a Unknown file -
Do you want to save, open, cancel, bla bla bla... What's happening?
You might find these code snippets helpful:
http://www.figleaf.com/demo/mimetest/
Dave
To: CF-Talk
Subject: Re: Viewing files in another server/directory outside CF
server
Thanks Deanna
but displaying all files in Mozilla works fine. But with IE that same
code, same link, same properties don't. IE displays a Unknown file -
Do you want to save, open, cancel, bla bla bla
As I'm reading it this is normal. The file format may be known but the file
itself is unknown - it could pose a security risk.
The user is always given the option to ignore the download, open it
immediately or save it for later (or for virus checking).
What behavior are you seeing in the other
, 2005 9:10 AM
To: CF-Talk
Subject: RE: Viewing files in another server/directory outside CF server
As I'm reading it this is normal. The file format may be known but the file
itself is unknown - it could pose a security risk.
The user is always given the option to ignore the download, open
Thanx Jim
Using attachment or inline options IE don't show Open option only
Save and Cancel. And IE recognize original MS Word doc like unknown.
If user clicks Save needs to select a directory, name and so on...
Using Mozilla works fine: I click in Open File and MS Word shows
that... very
Using attachment or inline options IE don't show Open option only
Save and Cancel. And IE recognize original MS Word doc like unknown.
If user clicks Save needs to select a directory, name and so on...
Using Mozilla works fine: I click in Open File and MS Word shows
that... very crazy
Thank you Pascal for your answer. But don't work for us. With CF
I(administrator user) can view all files stored in that protected
dir/server. But final user(without rights for read/write) don't...
Using cflocation, cffile with read and after write, all fails... Do
you have other choice?
Can help
to the
folder. Sandbox security may also prevent this, but then you have to
talk to the server admin.
-Original Message-
From: Michel Deloux [mailto:[EMAIL PROTECTED]
Sent: 24 May 2005 13:01
To: CF-Talk
Subject: Re: Viewing files in another server/directory outside CF
server
Thank you
to
talk to the server admin.
-Original Message-
From: Michel Deloux [mailto:[EMAIL PROTECTED]
Sent: 24 May 2005 13:01
To: CF-Talk
Subject: Re: Viewing files in another server/directory outside CF
server
Thank you Pascal for your answer. But don't work for us. With CF
I
I'm using this script to show to the user
a href=### onclick=javascript:
window.open('file://CA_LA_Fresno/Docs/FresnoPower.doc');
title=Please click here to view this documentoFresnoPower.doc/a
All users have READ only access to Docs subdir.
In that situation if user clicks
Thanx Dave,
CF lives in CA_LA_WS server and all docs lives in CA_LA_Fresno server.
How to show for our users docs stored in CA_LA_Fresno server with IE?
It's possible? For IE I need to store my files in CF server?
2005/5/24, Dave Watts [EMAIL PROTECTED]:
I'm using this script to show to the
CF lives in CA_LA_WS server and all docs lives in CA_LA_Fresno
server. How to show for our users docs stored in CA_LA_Fresno
server with IE? It's possible? For IE I need to store my files
in CF server?
You have all sorts of options. You can allow direct access via UNC path to
the server in
Thanx Dave.
and that your clients have network logon rights to that machine and read
access to the share in question... it's impossible!
What's UNC? How to setup?
Thanx once more again.
2005/5/24, Dave Watts [EMAIL PROTECTED]:
CF lives in CA_LA_WS server and all docs lives in
-Original Message-
From: Michel Deloux [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 12:45 pm
To: CF-Talk
Subject: Re: Viewing files in another server/directory outside CF server
Importance: Low
Thanx Dave.
.and that your clients have network logon rights to that machine
and that your clients have network logon rights to that
machine and read access to the share in question... it's
impossible!
What's UNC? How to setup?
If that's impossible, you won't be able to offer links using the file:
pseudo-protocol. If the service account used by the CF server
UNC:
\\servername\sharename\directory\file
AFAIK, your CF service will need to login as a user with rights to the
remote server
-Original Message-
From: Michel Deloux [mailto:[EMAIL PROTECTED]
Sent: 24 May 2005 17:45
To: CF-Talk
Subject: Re: Viewing files in another server/directory
Thanx Dave
using CFCONTENT and CFHEADER I need to get that file right? After that
I can send that file to user browser... Works with users with no
server rights?
2005/5/24, Dave Watts [EMAIL PROTECTED]:
and that your clients have network logon rights to that
machine and read access to
using CFCONTENT and CFHEADER I need to get that file right? After
that I can send that file to user browser... Works with users with
no server rights?
Yes, you would be fetching the file with CF, then returning it to the
browser.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Using CFCONTENT and CFHEADER with MS Word files show me a
Save/Download screen in IE. Please look my simple code:
view_files.cfm?fileX=file://CA_LA_Fresno/systems/Fresno2004_12.doc
in view_files I remove file: and change / bar to \ bar and after::
cfheader name=Content-Disposition
files in another server/directory outside CF server
Using CFCONTENT and CFHEADER with MS Word files show me a
Save/Download screen in IE. Please look my simple code:
view_files.cfm?fileX=file://CA_LA_Fresno/systems/Fresno2004_12.doc
in view_files I remove file: and change / bar to \ bar
Use cfcontent to do that
cfheader name=Content-Disposition value=attachment;
filename=#attributes.filename#
cfcontent type=#attributes.mimetype# file=#attributes.file#
deletefile=No
Pascal
-Original Message-
From: Michel Deloux [mailto:[EMAIL PROTECTED]
Sent: 23 May 2005 16:54
To:
23 matches
Mail list logo