Yuliang Ruan
Member since Dec 18, 2009
- Profile: /members/4992-yuliang-ruan.htm
- Comments: 5
Recent Blog Comments By Yuliang Ruan
-
Ask Ben: Uploading Multiple Files Using ColdFusion
Posted on Sep 17, 2010 at 10:29 AM
@Yogesh, I don't know about Java, but Flash has a security check to prevent the program from programatically selecting a file from the user's filesystem and upload it to the server. The initiating action has to be a user clicking on a file to upload. You can have the user browse for a file. You ... read more »
-
Ask Ben: Uploading Multiple Files Using ColdFusion
Posted on Sep 17, 2010 at 8:14 AM
@Yogesh, no you can't. cfdirectory operates on directories on the server, not the client. it's a security breach to "select all files" on the client's computer. that said, an alternative is to use a Flash element to allow the user to select multiple files and then have the Flash element push th... read more »
-
Ask Ben: Uploading Multiple Files Using ColdFusion
Posted on Mar 27, 2010 at 9:57 AM
the cgi.script_name refers to the CFM file itself. essentially it's just saying the form's action (i.e. who's handling the processing the form) is this very same file. make sure that the #CGI.script_name# is inside a <CFOUTPUT> block.... read more »
-
Ask Ben: Uploading Multiple Files Using ColdFusion
Posted on Dec 18, 2009 at 4:29 PM
yea. it's not a huge deal to do the cffile. my only concern is that i'd have to keep a temp folder around and deleting the file after the blob insert. it's not as clean as I would like. but that's just me being anal about these things heh.... read more »
-
Ask Ben: Uploading Multiple Files Using ColdFusion
Posted on Dec 18, 2009 at 12:28 PM
Hey Ben, I think Alex touched on a topic that I'm actually interested in digging into right now. My question is how do I determine the original filename? I've looked into GetHTTPRequestData() and form field itself and can't seem to find it. What I'm doing is uploading the file and directly inse... read more »