if I try <CFFILE ACTION="COPY> I get these errors The parameter is incorrect. (error 87).
The device is not ready. (error 21). -----Original Message----- From: Bruce, Rodney S HQISEC/SIGNAL [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 2:37 PM To: CF-Talk Subject: <CFFILE> Hello all Does anyone know how to run <CFFILE> without passing it a form field name. Want to copy files from one directory to another on the same server, but when I try <CFDIRECTORY ACTION="LIST" DIRECTORY="c:\dir1" NAME="getfiles"> <CFOUTPUT query="getfiles"> <CFIF getfiles.name NEQ "." and getfiles.name NEQ ".."> <CFSET filetomove = "c:\dir1\" & getfiles.name> <CFFILE ACTION="UPLOAD" FILEFIELD="#filetomove#" DESTINATION="D:\temp\" NAMECONFLICT="ERROR"> </CFIF> </CFOUTPUT> it errors and says I have to pass a form field name for the FILEFIELD. If I simply output the #filetomove# all the file names look correct. Using CF5 on WIN2K. Thanks for any help Rodney ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

