Primarily because the <input type="file"... tag is a FILE input tag, not a
"select a directory" tag.

Aaron

----- Original Message -----
From: "Rick Faircloth" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Thursday, March 10, 2005 7:57 AM
Subject: RE: How to Browse and Choose Directory...


> Oh, yeah, yeah...I see what you're saying...I'm not thinking straight.
> I can't pull files off the client's machine...
>
> But, wait...if I set up a CFFILE upload function that loops through the
> directory that the client specifies...why wouldn't that work?
>
> I'm not accessing the client's machine (as Bryan mentioned),
> the client has simply specified a directory for the CFFILE to look in.
>
> I would have the code loop through the directory that is specified,
> "C:\Photos" compile the list, the use CFFILE to upload each photo
> to my server one at a time...
>
> Why wouldn't that work?
>
> Rick
>
>
> -----Original Message-----
> From: Jerry Johnson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 09, 2005 3:27 PM
> To: CF-Talk
> Subject: RE: How to Browse and Choose Directory...
>
>
> The Cold Fusion server cannot see the client's machine, not even for the
one
> file.
>
> The file is actually sent to the server by the client's browser as part of
a
> form. The browser is the software that finds the file and uploads it. The
> server cannot see any files on the client's hard drive.
>
> Let's say you did as intended and had the browser send the folder name to
> the server as a form variable.
> The server would receive something like "C:\My photos\"
> The server would try to look in that folder, and not find any photos,
since
> it would only have access to it's own C: drive, not the client's.
>
> Does this make sense?
>
>
> Jerry Johnson
> Web Developer
> Dolan Media Company
>
> >>> [EMAIL PROTECTED] 03/09/05 03:26PM >>>
> It will be a folder somewhere on the client's machine...I have no
> access to it.
>
> Just figured there was a way for a user to designate a directory in CF
> by browsing their machine...
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

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