John, I would output your variables and visually see just where <cffile action="move"> thinks it's going and, white space would cause a problem (not sure what would happen if the directory name had spaces in it, I think it'd work).
hth, ~Todd On Thu, 6 Jun 2002, John McCosker wrote: > Hi Tod, > > I tried this, > > <CFFILE ACTION="MOVE" > SOURCE="d:\dirSrtuct\test.txt" > DESTINATION="d:\anotherDirSrtuct\"> > > and it worked, > > what gives, > > maybe there is white space in my Dynamic Vars, I'll try RTRIM(); > > J > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 06, 2002 1:18 PM > To: CF-Talk > Subject: CFFILE Move error... > > > John, > > Btw, my bad... I saw that you were creating directories in the code and I > didn't get that far. If you're able to create directories and such, then > . there has to be something more going on. > > Have you tried using <cffile action="move"> with a regular file (meaning, > take out the dynamic stuff and just see if you can move a regular file > into that directory? Make a .txt file and see if <cffile> is throwing you > the same error. > > Sorry about that... > > ~Todd > > -- ============================================================ Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ | http://www.flashCFM.com/ - webRat (Moderator) | http://www.ultrashock.com/ - webRat (Back-end Moderator) | ============================================================ ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.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

