Well, I think you are still misunderstanding <cffile>. It does not currently 
get a file from the client (and probably never will).  It gets the file from 
the server.  The browser is the agent that gets the file.  It then encodes the 
file into a string and sends that data in the header of the HTTP request.  The 
web server (IIS or Apache for example) takes this data from the HTTP request it 
received and passes this on the application server (Cold Fusion in the case of 
this list).  The <cffile> tag then does something with this data that is on the 
server.  It never touches the client.

CF does blur the server/client a bit with it's <CFForm> on some other related 
tags.  But if you look closely at what these do, they just create JS (and/or 
Flash/XML as of MX 7) client code and then sends this code downstream to the 
browser.  So something here could theoretically be created along these lines.  
But are not likely.

Actually CFFTP already has directory browsing abilities.  But to use them, the 
client would have to be setup to ACCEPT FTP trafic.  Not a likely situation.  
But, if you want to set up FTP services in your server, you could easily create 
a spot where users could FTP loads of data to you.  They could use any number 
of tools, including those built in to Windows and/or IE. You then can use CF to 
further process these files.

Many people don't know if you type FTP://www.myFTPSite.com into IE, you get a 
simple FTP tool that files (or entire directories) can be draged into and out 
of, on windows OS of course.



--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

....-----Original Message-----
....From: Rick Faircloth [mailto:[EMAIL PROTECTED]
....Sent: Thursday, March 10, 2005 8:09 AM
....To: CF-Talk
....Subject: RE: How to Browse and Choose Directory...
....
....I understand that *currently* CFDirectory only has access
....to my local system...what I'm talking about is developing
....a tag that allows a user to specify a directory for upload the
....same way we use CFFile now...
....
....I guess the difficulties in doing this are embedded in the details of
....the HTML standards, etc., that I'm unfamiliar with....
....
....Maybe the FTP protocol could be modified to work within CFDIRECTORY
....to allow remote access to a folder...I'm way out of my league on the
....details of this, however...
....
....Rick

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 



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

Reply via email to