This is a multi-part message in MIME format.

------=_NextPart_000_005D_01C00153.6BD972A0
Content-Type: text/plain;
        charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hello,=20

I am using the CFFILE tag to upload and move files for an application I =
have built and I am running into a multitude of problems.=20

This is my cffile tag:=20

Problem one: My first step is to upload a pdf to a temporary directory - =
provided the file does not already exist this tag works BUT even though =
I have the
nameconflict set to overwrite if the file is already there then I get =
the following error:=20

-------------------------------------------------------------------------=
---------------------------------------------------------------=20
Error Diagnostic Information=20

Error processing CFFILE=20

Error attempting to save uploaded file to path =
'E:\inetpub\wwwroot\exchange\listings\temppdfs\42584.pdf.' Access is =
denied. (error 5)
-------------------------------------------------------------------------=
---------------------------------------------------------------=20

Second problem: if I am able to upload the file and it is an 'updated" =
version of the file I am trying to move the original file out of the =
permanent directory into an
'oldpdfs" directory and then move the newest pdf from the temppdf =
directory into the pdfs directory. And still I am getting Error number =
five:
-------------------------------------------------------------------------=
---------------------------------------------------------------=20
Error Diagnostic Information=20

Error processing CFFILE=20

Unable to move file =
'E:\inetpub\wwwroot\exchange\listings\pdfs\42584.pdf' to path =
'E:\inetpub\wwwroot\exchange\listings\pdfs\oldpdfs\42584.pdf'. Access is
denied. (error 5)
 =
-------------------------------------------------------------------------=
---------------------------------------------------------------
 What I have tried so far:=20

a. My paths are fully qualified (so it not that I am missing the ending =
backslash) b. Opened up the permissions on my directory so that the =
ColdFusion  service owns all
the directories and subdirectories=20

Any suggestions would be appreciated=20



Joyce E. Evans
WebMaster
Healthwell.com=20
(303) 998-9278

------=_NextPart_000_005D_01C00153.6BD972A0
Content-Type: text/html;
        charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello, </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am using the CFFILE tag to upload and =
move files=20
for an application I have built and I am running into a multitude of =
problems.=20
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This is my cffile tag: </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Problem one: My first step is to upload =
a pdf to a=20
temporary directory - provided the file does not already exist this tag =
works=20
BUT even though I have the<BR>nameconflict set to overwrite if the file =
is=20
already there then I get the following error: </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>----------------------------------------------------------------=
------------------------------------------------------------------------ =

</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Error Diagnostic Information =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Error processing CFFILE </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Error attempting to save uploaded file =
to path=20
'E:\inetpub\wwwroot\exchange\listings\temppdfs\42584.pdf.' Access is =
denied.=20
(error=20
5)<BR>-------------------------------------------------------------------=
---------------------------------------------------------------------=20
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Second problem: if I am able to upload =
the file and=20
it is an 'updated" version of the file I am trying to move the original =
file out=20
of the permanent directory into an<BR>'oldpdfs" directory and then move =
the=20
newest pdf from the temppdf directory into the pdfs directory. And still =
I am=20
getting Error number=20
five:<BR>----------------------------------------------------------------=
------------------------------------------------------------------------ =

</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Error Diagnostic Information =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Error processing CFFILE </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Unable to move file=20
'E:\inetpub\wwwroot\exchange\listings\pdfs\42584.pdf' to path=20
'E:\inetpub\wwwroot\exchange\listings\pdfs\oldpdfs\42584.pdf'. Access=20
is<BR>denied. (error 5)</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>&nbsp;----------------------------------------------------------=
-------------------------------------------------------------------------=
-----</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;What I have tried so far: =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>a. My paths are fully qualified (so it =
not that I=20
am missing the ending backslash) b. Opened up the permissions on my =
directory so=20
that the ColdFusion  service owns all<BR>the directories and =
subdirectories=20
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Any suggestions would be appreciated=20
<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Joyce E. =
Evans<BR>WebMaster<BR>Healthwell.com=20
<BR>(303) 998-9278</FONT></DIV></BODY></HTML>

------=_NextPart_000_005D_01C00153.6BD972A0--

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to