Sam:

The reason why the files are being saved locally is because, when a user
clicks on one of your "file download" links, the user's browser is
downloading a COPY of the file to his or her computer.  That is, they are
not working on the remote file but on a local copy of the remote file.

Instead of your link URL being something like http://server/dir/file.ext try
changing it to either file://Z:/dir/file.ext where "Z:" is a mapped drive to
the share in which the remote files are located or file://Share/dir/file.ext
where "Share" is the name of the share in which the remote files are
located.

These links will actually open the remote file (not a local copy of it) in
MS Word, et al.  Just note that any changes one person makes to the remote
file gets shared by all other users.

HTH

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: sam clement [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 07, 2006 2:54 PM
> To: CF-Talk
> Subject: Saving files
>
>
> This probably doesn't have a coldfusion specific answer but I thought i'd
> ask anwyay.
>
> I'm trying to build an intranet application that will allow users to click
> on links to open up files.  This works fine using cfheader and cfcontent,
> the file opens nicely in the appropriate application (MS Word or
> whatever).
> The problem is when the user tries to save the document it gets saved
> locally and not on the server.  This is really not that surprising...
> however, since this is an intranet application and the users have network
> access to the server, does anyone know of a way that will
> automatically save
> the document at its original src path when the save button is clicked -
> instead of saving the file in a local temp directory?
>
> I guess this is really a browser issue... but anyone have any ideas?
>
>
> 

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

Reply via email to