Yup, a missing \ will do it. :)  No problem, glad I could help.

On Thu, 6 Jun 2002, John McCosker wrote:

> Todd got it,
> 
> I about the two paths and the problem was clear,
> 
> originally,
> 
> DESTINATION="#REQUEST.LOGPATH##SESSION.CustomerName#\#EhancedReportFolder#">
> 
> I left out a "\", duhhh or what, not so simple to pick up is it,
> I guess you were assuming I had "\" within var #EhancedReportFolder#,
> my fault totally,
> 
> DESTINATION="#REQUEST.LOGPATH##SESSION.CustomerName#\#EhancedReportFolder#\"
> >
> 
> Thanks for your help Todd,
> 
> j
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 06, 2002 2:08 PM
> To: CF-Talk
> Subject: RE: CFFILE Move error...
> 
> 
> 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)   |
============================================================

______________________________________________________________________
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

Reply via email to