On Mon, Aug 25, 2014 at 9:39 AM, Richard White <rich...@re-base.net> wrote:

> We have created an online database program. I have a requirement for a
> user to store links to files contained on their local machines, then at the
> click of a button it will open the file.
>
> If we were to store these files on our server I know we could use cfheader
> and cfcontent to open the file. However, seeing as the files are stored on
> their local machines how can I achieve this?
>

Assuming you mean that you need to open the file that is stored on the
user's computer and do something with it on the server, there has to be a
tool that transfers that file from the client first.

We use a web app that does that by making use of a SoftArtisans ActiveX
plug-in called XFile.  It works something like this:
1. On the server, the path and filename is stored in the per-user database
settings
2. When the page is pulled the active-x initiates the file-transfer and
saves the file locally.  The user is prompted to confirm.
3. The page continues processing.

File transfer is still required, it's just handled a bit more seamlessly
than an upload button or FTP.

Until Later!
C. Hatton Humphrey

Every cloud does have a silver lining.  Sometimes you just have to do some
smelting to find it.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359194
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to