Re: Opening Local Files

2014-08-26 Thread Jochem van Dieten

On Aug 25, 2014 3:40 PM, Richard White 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.

Open the file how? With the default application installed on their local
machine? In that case just linking to the file should work once the user
has configured the application and permissions.

Jochem


~|
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:359193
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Opening Local Files

2014-08-26 Thread C. Hatton Humphrey

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


Opening Local Files

2014-08-25 Thread Richard White

Hi,

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?

I have read this is not possible. There MUST be a way of ding it though!

Thanks for your help.
Richard 

~|
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:359189
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Opening Local Files

2014-08-25 Thread Dave Watts

 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?

 I have read this is not possible. There MUST be a way of ding it though!

You'll need local applications to manipulate local files. This is not
possible with a CF web application by itself. Those local applications
will need to be downloaded and installed by the user, but they can
otherwise be very lightweight - for example, Java applets.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
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:359190
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Opening Local Files

2014-08-25 Thread Richard White

Thanks Dave, although I don't quite follow. So can I program our CF application 
to work with a specific local application? If so do you have any 
recommendations?

Thanks,
Richard



  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?
 
  I have read this is not possible. There MUST be a way of ding it 
 though!
 
 You'll need local applications to manipulate local files. This is not
 possible with a CF web application by itself. Those local 
 applications
 will need to be downloaded and installed by the user, but they can
 otherwise be very lightweight - for example, Java applets.
 
 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

~|
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:359191
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Opening Local Files

2014-08-25 Thread Casey Dougall - Uber Website Solutions

Or an AIR app with coldfusion backend for rest api calls.
On Aug 25, 2014 10:47 AM, Dave Watts dwa...@figleaf.com 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?
 
  I have read this is not possible. There MUST be a way of ding it though!

 You'll need local applications to manipulate local files. This is not
 possible with a CF web application by itself. Those local applications
 will need to be downloaded and installed by the user, but they can
 otherwise be very lightweight - for example, Java applets.

 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

 

~|
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:359192
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm