AIR is not the only method, but you can't get it done with just html. You will 
need A java applet or flash or air or some other program that can talk to the 
system as well as your app.

----------------------
William Seiter 

On Oct 4, 2010, at 4:39 PM, Gonzo Rock <[email protected]> wrote:

> 
> Well the purpose is to capture and store the Directory as part of a
> configuration routine. Then days in the future other users of the
> application will trigger it to process some datafiles... but
> coldfusion needs to know where those datafiles are located.  The
> current user has no idea where they are stored... they just want the
> files in the directory processed.
> 
> Currently during the configuration session we can capture it by making
> them point to a file in the directory and then stripping the actual
> file name from the network path they navigated down... however how to
> do this when there is NO file in the directory for them to use while
> configuring the Directory Location for future use... that is the
> problem... which Dave suggests can only be solved using AIR :-(
> 
> On Mon, Oct 4, 2010 at 4:18 PM, Russ Michaels <[email protected]> wrote:
>> 
>> also u do not need to remember the path as this is the default behaviour of
>> windows. When you open a browse window it always takes you to the last
>> location you used.
>> 
>> On Tue, Oct 5, 2010 at 12:15 AM, Dave Watts <[email protected]> wrote:
>> 
>>> 
>>>> Using <input type="file" works great to let a user point to a file...
>>>> but how do you let the user browse and point to a Directory?
>>>> 
>>>> I am trying to figure out how to let a user browse to a particular
>>>> directory location on their network and then capture that location for
>>>> future use.  In this instance the application will always look in this
>>>> location for files that it needs to process for the user.
>>> 
>>> There's nothing built into HTML to capture a directory path. Also,
>>> browsers won't let you store a directory path for later use, for
>>> security reasons - the user always has to choose the file directly.
>>> 
>>> Adobe AIR is a nice alternative here. Downloadable applications can do
>>> all sorts of things that browsers won't allow.
>>> 
>>> Dave Watts, CTO, Fig Leaf Software
>>> 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-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337847
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to