Re: Viewing files in another server/directory outside CF server

2005-05-30 Thread Michel Deloux
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

Re: Viewing files in another server/directory outside CF server

2005-05-25 Thread Michel Deloux
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

RE: Viewing files in another server/directory outside CF server

2005-05-25 Thread Dave Watts
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

RE: Viewing files in another server/directory outside CF server

2005-05-25 Thread Pascal Peters
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

RE: Viewing files in another server/directory outside CF server

2005-05-25 Thread Jim Davis
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

RE: Viewing files in another server/directory outside CF server

2005-05-25 Thread Kevin Aebig
, 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

Re: Viewing files in another server/directory outside CF server

2005-05-25 Thread Michel Deloux
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

RE: Viewing files in another server/directory outside CF server

2005-05-25 Thread Dave Watts
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

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
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

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Pascal Peters
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

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
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

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Dave Watts
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

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
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

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Dave Watts
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

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
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

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread SStewart
-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

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Dave Watts
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

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Kerry
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

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
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

RE: Viewing files in another server/directory outside CF server

2005-05-24 Thread Dave Watts
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/

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Michel Deloux
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

Re: Viewing files in another server/directory outside CF server

2005-05-24 Thread Deanna Schneider
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

RE: Viewing files in another server/directory outside CF server

2005-05-23 Thread Pascal Peters
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: