thanks Tim cffile.ServerFile seems to be the way to go
ta Seamus At 10:17 am 19/04/02 , you wrote: >After the file is uploaded, you should be able to use the >#cffile.serverFile# variable to get the filename that was saved on the >server. Can you use that to delete it? > ><cffile action="delete" >file="D:\VirtualSites\test_\ccsbt\documents_directory\#cffile.serverFile#"> > >HTH, >Tim P. > >-----Original Message----- >From: Seamus Campbell [mailto:[EMAIL PROTECTED]] >Sent: Thursday, April 18, 2002 7:25 PM >To: CF-Talk >Subject: cffile - probs with spaces in file name > > >Hi > >I'm having a problem with CFFILE that I hope someone may be able to help me >with > >I'm uploading and deleting files. > >If a file is uploaded with spaces in the file name - it cannot be deleted - >gives this error: >Unable to delete the file 'D:\Virtual >Sites\test_\ccsbt\documents_directory\Copy test.pdf.' The system cannot >find the file specified. (error 2) > >If I put the same file up with no spaces there is no problem. > >The file name on the server actually puts an underscore in the space > >Any clues on how to fix this > >MTIA > >Seamus > > > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists