- see footer for list info -<
are you trying to send mail instantly? in the same template?

if so, it could be that the file isn't there when you send the mail... which would cause the error.

Do you have a cflock around the cffile? you should. make it named lock and give it a reasonable time out.

test again, and it should work, this error is more than likely down to the time it takes cf to copy the file from the temp directory to where you want it.

Thanks,

Tom

Shawn Fawcett wrote:
- see footer for list info -<


It might not be the cause, but you have no space between the destination and
nameconflict attributes.

space added. no difference

What happens if you put an extra slash after upload\?

Cannot attach 'd:\wwwroot\araxi.fr\wwwroot\ACF29DC.doc' to the mail message. The file does not exist.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Shawn Fawcett
Sent: 24 February 2006 09:45
To: Coldfusion Development
Subject: RE: [CF-Dev] can't upload attachment


>- see footer for list info -<
the line yes (here's another copy/paste
<cffile action="upload" FileField="File"
Destination="#expandPath('.')#\upload"NameConflict="Makeunique">

the error no (here's the right one). I've already tried a few variations &
the previous error was one of the results
Error attempting to save uploaded file to path
'd:\wwwroot\araxi.fr\wwwroot\upload.' Access is denied. (error 5)

Shawn

At 10:19 24/02/2006, you wrote:
> >- see footer for list info -<
>Is the line you posted below the same line that's used in your page? Did
you
>copy and paste it into the email? The same goes for the error message, did
>you C+P it?
>
>Adrian
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Shawn Fawcett
>Sent: 24 February 2006 09:13
>To: Coldfusion Development
>Subject: [CF-Dev] can't upload attachment
>
>
> >- see footer for list info -<
>Hi again,
>
>once again I seem to have a problem between the dev site and the live site
>(live site is CF5)
>
>I'm using the following code to upload an attachment in a form:
>
><cffile action="upload" FileField="File"
>Destination="#expandPath('.')#\upload"NameConflict="Makeunique">
>
>and I'm getting this error:
>
>Error processing CFFILE
>Error attempting to save uploaded file to path
>'d:\wwwroot\araxi.fr\wwwroot\upload.' Access is denied. (error 5)
>
>
>I know the permissions are correct but somehow think my code is missing
>something
>
>Shawn
>
>_______________________________________________
>
>For details on ALL mailing lists and for joining or leaving lists, go to
>http://list.cfdeveloper.co.uk/mailman/listinfo
>
>--
>CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your
help -<

ARAXI Traductions France
100 Passage Henri Régnault - 92400 Courbevoie La Défense 6
Tél. : 01 49 03 41 49 - Fax : 01 49 03 41 42
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

ARAXI Traductions France
100 Passage Henri Régnault - 92400 Courbevoie La Défense 6
Tél. : 01 49 03 41 49 - Fax : 01 49 03 41 42 _______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<


        
        
                
___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to