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 options. If user chooses Save
IE prompt for viewfiles.cfm automatic file name...


2005/5/25, Dave Watts [EMAIL PROTECTED]:
  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
 
 Are you setting the appropriate MIME type? Are you specifying a filename
 with the appropriate extension?
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207983
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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

2005-05-25 Thread Michel Deloux
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... What's happening?

Thanx for your time.

2005/5/24, Deanna Schneider [EMAIL PROTECTED]:
 That's the proper behavior. If you want them to display in the browser,
 you'll ned to change your value=attachment;  to value=inline;
 
 - Original Message -
 From: Michel Deloux [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Tuesday, May 24, 2005 2:49 PM
 Subject: Re: Viewing 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 and after::
 
  cfheader name=Content-Disposition value=attachment;
  filename=#URL.fileX#
 
  cfcontent type=application/msword file=#URL.fileX# deletefile=No
 
  Whta's happened?
 
  Thanx
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207646
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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 Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207647
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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

2005-05-25 Thread Pascal Peters
cfheader name=Content-Disposition value=inline;
filename=#GetFileFromPath(URL.fileX)#
cfcontent type=application/msword file=#URL.fileX#
deletefile=No

Does this work the way you intended??

Pascal

 -Original Message-
 From: Michel Deloux [mailto:[EMAIL PROTECTED]
 Sent: 25 May 2005 16:55
 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... What's happening?
 
 Thanx for your time.
 
 2005/5/24, Deanna Schneider [EMAIL PROTECTED]:
  That's the proper behavior. If you want them to display in the
browser,
  you'll ned to change your value=attachment;  to value=inline;
 
  - Original Message -
  From: Michel Deloux [EMAIL PROTECTED]
  To: CF-Talk cf-talk@houseoffusion.com
  Sent: Tuesday, May 24, 2005 2:49 PM
  Subject: Re: Viewing 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 and after::
  
   cfheader name=Content-Disposition value=attachment;
   filename=#URL.fileX#
  
   cfcontent type=application/msword file=#URL.fileX#
 deletefile=No
  
   Whta's happened?
  
   Thanx
  
  
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207650
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


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 browsers?  Are they opening the
file directly (which seems reckless to me)?

Jim Davis




~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207651
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


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

2005-05-25 Thread Kevin Aebig
Unless the users internet options have been changed, There would be a
prompt. Or if the link was using a custom protocal such as the myapp://, I
suppose this could get around the prompts as well.

Kevin

-Original Message-
From: Jim Davis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 25, 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 it
immediately or save it for later (or for virus checking).

What behavior are you seeing in the other browsers?  Are they opening the
file directly (which seems reckless to me)?

Jim Davis






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207655
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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 crazy

Thanx all.


2005/5/25, Jim Davis [EMAIL PROTECTED]:
 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 browsers?  Are they opening the
 file directly (which seems reckless to me)?
 
 Jim Davis
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207670
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


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

Are you setting the appropriate MIME type? Are you specifying a filename
with the appropriate extension?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207671
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


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 us?

Thanks for your time.

2005/5/23, Pascal Peters [EMAIL PROTECTED]:
 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: CF-Talk
  Subject: Viewing files in another server/directory outside CF server
 
  Hi all
 
  I can upload files to CA_LA_Fresno server using CF user. CF user haves
  administrator properties. But my user don't have permission to access
  that server/directory. It's possible to my users see that file in your
  browser or Word?
 
  How?
 
  Thanks in advance
 
 
 
 

~|
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:207522
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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

2005-05-24 Thread Pascal Peters
The final user does not need access to that folder, just CF. Let's say I
want to access a file C:\docs\test.doc, but the user doesn't have access
to C:\docs. CF has access to it, and the user has access to a CF
application in the webroot.
Create a file download.cfm under the webroot somewhere and pot the
following code in it:

cfheader name=Content-Disposition value=attachment;
filename=test.doc
cfcontent type=application/msword file= C:\docs\test.doc
deletefile=No

This should enable the users to download the file by calling
download.cfm. You have to make sure that coldfusion has access 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 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 us?
 
 Thanks for your time.
 
 2005/5/23, Pascal Peters [EMAIL PROTECTED]:
  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: CF-Talk
   Subject: Viewing files in another server/directory outside CF
server
  
   Hi all
  
   I can upload files to CA_LA_Fresno server using CF user. CF user
haves
   administrator properties. But my user don't have permission to
access
   that server/directory. It's possible to my users see that file in
your
   browser or Word?
  
   How?
  
   Thanks in advance
  
  
 
 
 
 

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207525
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


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

2005-05-24 Thread Michel Deloux
Thanx Pascal

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 Internet Explorer show this message:


Error message: Cannot find filename. Make sure the path or Internet
Address is correct.

What do you think about?

Thanx in advance.


2005/5/24, Pascal Peters [EMAIL PROTECTED]:
 The final user does not need access to that folder, just CF. Let's say I
 want to access a file C:\docs\test.doc, but the user doesn't have access
 to C:\docs. CF has access to it, and the user has access to a CF
 application in the webroot.
 Create a file download.cfm under the webroot somewhere and pot the
 following code in it:
 
 cfheader name=Content-Disposition value=attachment;
 filename=test.doc
 cfcontent type=application/msword file= C:\docs\test.doc
 deletefile=No
 
 This should enable the users to download the file by calling
 download.cfm. You have to make sure that coldfusion has access 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 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 us?
 
  Thanks for your time.
 
  2005/5/23, Pascal Peters [EMAIL PROTECTED]:
   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: CF-Talk
Subject: Viewing files in another server/directory outside CF
 server
   
Hi all
   
I can upload files to CA_LA_Fresno server using CF user. CF user
 haves
administrator properties. But my user don't have permission to
 access
that server/directory. It's possible to my users see that file in
 your
browser or Word?
   
How?
   
Thanks in advance
   
   
  
  
 
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207528
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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 Internet Explorer show this message:
 
 Error message: Cannot find filename. Make sure the path or Internet
 Address is correct.

This has nothing to do with CF's permissions to access files, or your web
server's permissions either. You are providing links directly to files, and
your users would need to be able to resolve UNC paths directly to those
files from their workstations for those links to work.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
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:207529
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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 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 Internet Explorer show this message:
 
  Error message: Cannot find filename. Make sure the path or Internet
  Address is correct.
 
 This has nothing to do with CF's permissions to access files, or your web
 server's permissions either. You are providing links directly to files, and
 your users would need to be able to resolve UNC paths directly to those
 files from their workstations for those links to work.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207531
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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 question, although you will also have to ensure that your
clients can resolve the NetBIOS name correctly (via WINS, LMHOSTS or AD DNS)
and that your clients have network logon rights to that machine and read
access to the share in question.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207533
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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 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 question, although you will also have to ensure that your
 clients can resolve the NetBIOS name correctly (via WINS, LMHOSTS or AD DNS)
 and that your clients have network logon rights to that machine and read
 access to the share in question.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207535
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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

2005-05-24 Thread SStewart
UNC: universal network connection, or something like that. Basically it's 
Windows Shared folder/or drive. 

Scott A. Stewart, 
Web Application Developer
 
Engineering Consulting Services, Ltd. (ECS)
14026 Thunderbolt Place, Suite 300
Chantilly, VA 20151
Phone: (703) 995-1737
Fax: (703) 834-5527


-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 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 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 question, although you will also have to ensure that your
 clients can resolve the NetBIOS name correctly (via WINS, LMHOSTS or AD DNS)
 and that your clients have network logon rights to that machine and read
 access to the share in question.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 
 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207538
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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 has rights to
read those documents, you can use CFCONTENT to fetch those files and serve
them to the user.

!-- example page with link to file ---
a href=getfile.cfm?id=#fileid##filename#/a

!--- getfile.cfm ---
cfquery name=qGetFile ...
SELECT Filename, MIMEType
FROM File
WHEREFileID = cfqueryparam cfsqltype=cf_sql_integer
value=#URL.fileid#
/cfquery

cfheader name=Content-Disposition value=inline;
filename=#qGetFile.FileName#
cfcontent file=#qGetFile.FileName# type=#qGetFile.MIMEType#

In the above example, the presumption is that you're storing information
about those files within your database.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207541
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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 outside CF server


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 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 question, although you will also have to ensure that your
 clients can resolve the NetBIOS name correctly (via WINS, LMHOSTS or AD
DNS)
 and that your clients have network logon rights to that machine and read
 access to the share in question.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!





~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207555
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


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 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 has rights to
 read those documents, you can use CFCONTENT to fetch those files and serve
 them to the user.
 
 !-- example page with link to file ---
 a href=getfile.cfm?id=#fileid##filename#/a
 
 !--- getfile.cfm ---
 cfquery name=qGetFile ...
 SELECT Filename, MIMEType
 FROM File
 WHEREFileID = cfqueryparam cfsqltype=cf_sql_integer
 value=#URL.fileid#
 /cfquery
 
 cfheader name=Content-Disposition value=inline;
 filename=#qGetFile.FileName#
 cfcontent file=#qGetFile.FileName# type=#qGetFile.MIMEType#
 
 In the above example, the presumption is that you're storing information
 about those files within your database.
 
 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207558
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


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/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207577
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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 value=attachment;
filename=#URL.fileX#

cfcontent type=application/msword file=#URL.fileX# deletefile=No

Whta's happened? 

Thanx




2005/5/24, Dave Watts [EMAIL PROTECTED]:
  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/
 
 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 
 

~|
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:207583
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


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

2005-05-24 Thread Deanna Schneider
That's the proper behavior. If you want them to display in the browser, 
you'll ned to change your value=attachment;  to value=inline;

- Original Message - 
From: Michel Deloux [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, May 24, 2005 2:49 PM
Subject: Re: Viewing 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 and after::

 cfheader name=Content-Disposition value=attachment;
 filename=#URL.fileX#

 cfcontent type=application/msword file=#URL.fileX# deletefile=No

 Whta's happened?

 Thanx

 


~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207590
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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: CF-Talk
 Subject: Viewing files in another server/directory outside CF server
 
 Hi all
 
 I can upload files to CA_LA_Fresno server using CF user. CF user haves
 administrator properties. But my user don't have permission to access
 that server/directory. It's possible to my users see that file in your
 browser or Word?
 
 How?
 
 Thanks in advance
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207423
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