Having a terrible time figuring out why I am getting this error. The code
works locally and on another site remotely. I put together a very quick
screencast to make it easier and quicker to understand the problem. It is
only a little over two minutes long.
The screencast can be found here
I found it:
maxContentID is the name of the query
#ExpandPath('/contentFiles/#*maxContentID*#_#language#.cfm')#
This works
#ExpandPath('/contentFiles/#*maxContentID**.contentID*#_#language#.cfm')#
On Tue, Nov 9, 2010 at 8:47 PM, Dave Watts dwa...@figleaf.com wrote:
I have a file that
I have a file that is creating a CF template using the following code:
cfloop Query=languages
cffile
action = write
*file =
#ExpandPath('/contentFiles/#maxContentID#_#language#.cfm')# *
output = #Evaluate( #language#TEXT )#
I have a file that is creating a CF template using the following code:
cfloop Query=languages
cffile
action = write
*file =
#ExpandPath('/contentFiles/#maxContentID#_#language#.cfm')# *
output = #Evaluate( #language#TEXT )#
Ok thanks Dave,
On Tue, Nov 9, 2010 at 8:47 PM, Dave Watts dwa...@figleaf.com wrote:
I have a file that is creating a CF template using the following code:
cfloop Query=languages
cffile
action = write
*file =
While using cffile upload, I seems to be getting 'String index out of range:
-1' after the file is placed in the application directory. All the required
parameters are given as stated in the docs. Could someone please advise me what
the above error means? The code is given below:
--
cffile
The fileField parameter is incorrect - just use the name of the form element:
fileField=fileName
On Thu, Jul 10, 2008 at 4:45 PM, Kamru Miah [EMAIL PROTECTED] wrote:
While using cffile upload, I seems to be getting 'String index out of range:
-1' after the file is placed in the application
I have had the same error before with file upload. The cause of my
problem was that the destination file path was not exactly correct.
However, in your case since the file is already uploaded to the server then
it must be correct. I saw that you are using the MODE attribute...could
this be an
I guess this is a rear error (due to unknown mimetype of file?), but can
someone tell me how to handle when cffile error, so that user gets a meaningful
message?
~|
Adobe® ColdFusion® 8 software 8 is the most important
Here is a strange one..
I have to copy files from on server to another using cffile. Under
CFMX 6.1I just changed the CF services to login to an account that had
rights to
copy files from on server to another. Simple and easy. Now with CF7, I
attempt to change the account to something other than
I am trying to create an application that will download log files from a server
every hour. The application works ok, but the problem is I get the following
error on occasion.
An exception occurred when performing the FTP getfile operation.
The cause of this exception was that: IOException
An exception occurred when performing the FTP getfile operation.
The cause of this exception was that: IOException caught
while copying..
Rather than cffile, do you mean cfftp?
~|
Introducing the Fusion Authority
An exception occurred when performing the FTP getfile operation.
The cause of this exception was that: IOException caught while
copying..
Rather than cffile, do you mean cfftp?
This may help
http://www.mail-archive.com/list@list.dfwcfug.org/msg00225.html
Does ColdFusion Service have access to the network drive?
\\SWPRINT\LAB_HEMA ???
-Original Message-
From: John Lucania [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 03, 2005 1:35 AM
To: CF-Talk
Subject: Cffile Error
C:\CFusionMX\runtime\bincopy
D:\Inetpub\WWWROOT\BBDatabase
Service have access to the network drive?
\\SWPRINT\LAB_HEMA ???
-Original Message-
From: John Lucania [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 03, 2005 1:35 AM
To: CF-Talk
Subject: Cffile Error
C:\CFusionMX\runtime\bincopy
D:\Inetpub\WWWROOT\BBDatabase\results.txt
1:01 PM
To: CF-Talk
Subject: Re: Cffile Error
\\SWPRINT\LAB_HEMA is a network printer.
cfexecute works fine as long as there is a file.
I think the issue is Cffile action=write
file=D:\Inetpub\WWWROOT\BBDatabase\results.txt output=#results#
doesn't generate a file.
jl
On 12/3/05, ColdFusion
Message-
From: John Lucania [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 03, 2005 1:01 PM
To: CF-Talk
Subject: Re: Cffile Error
\\SWPRINT\LAB_HEMA is a network printer.
cfexecute works fine as long as there is a file.
I think the issue is Cffile action=write
file=D:\Inetpub
C:\CFusionMX\runtime\bincopy
D:\Inetpub\WWWROOT\BBDatabase\results.txt \\SWPRINT\LAB_HEMA
The system cannot find the file specified.
cfquery name=GetQryList datasource=BloodBank
select *
from PTBB
where len(MRN) = 7
order by Lname
/cfquery
cfsavecontent variable=results
table border=0
://blog.mxconsulting.com
-Original Message-
From: Phillip Perry [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 10:07 AM
To: CF-Talk
Subject: cffile error confusion.
Hi,
Does anyone know why i'm getting this error? It's coming from my local
machine...
Error Occurred While Processing
cffile ACTION=READ FILE=http://www.applewoodcommunity.com/index.cfm;
VARIABLE=content
You want to look at the getPathFrom family of functions, to get the system
file path from your url that the cffile tag needs.
This should get you close.
cffile action=read
Thanks Mark but I can't use it. The problem is that I need the file
uncompiled. Using cfhttp compiles it first.
Thanks anyway
Phil
-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 14, 2004 11:13 AM
To: CF-Talk
Subject: RE: cffile error confusion
Hi,
Does anyone know why i'm getting this error? It's coming from my local
machine...
Error Occurred While Processing Request
An error occurred when performing a file operation READ on file
C:\CFusionMX\runtime\servers\default\SERVER-INF\temp\wwwroot-tmp\http://www.
I have this routine to let users upload a photo to my server. I used to just accept gif's , now I allow for .jpgs so I add them to the accept field. Now my script bombs. loading any type of file. Here is my code.
cftry
cffile action="">
destination=c:\ix\uploads\
nameconflict=makeunique
17, 2004 9:26 AM
Subject: CFFILE error
I have this routine to let users upload a photo to my server. I used to just accept gif's , now I allow for .jpgs so I add them to the accept field. Now my script bombs. loading any type of file. Here is my code.
cftry
cffile action="">
destinat
I have seen several forum messages concerning this error, but I have
never seen a solution. When using CFFILE WRITE or APPEND, I get the
following:
Error Diagnostic Information
Error processing CFFILE
Error attempting to write data to target file
'D:\Sysmgr\ftproot\LDAP\cities.ttx'.
Error
ok,
'splain this one
im about to go mad...
Error Diagnostic Information
Error processing CFFILE
Error attempting to read
'd:\www\clients\cx_Web~1\ScoreW~1\pre_out_702928_TTT_123.xml.' The
process cannot access the file because it is being used by another
process. (error 32)
The error
cancel this. i figgered it out.
thanks.
tony
-Original Message-
From: Tony Weeg [mailto:tony;navtrak.net]
Sent: Friday, October 18, 2002 9:27 PM
To: CF-Talk
Subject: odd cffile error
ok,
'splain this one
im about to go mad...
Error Diagnostic Information
Error processing CFFILE
,;)
/cfif
/cfoutput
And here is the error I am getting:
Error Diagnostic Information
Error processing CFFILE
Error attempting to read 'http://www.hud.gov/offices/pih/pha/approved/02/al_02.txt.'
No such file or directory (error 2)
The error occurred while processing an element
CFFILE action=read takes a absolute path for it's file attribute. You
are sending it a URL.
Jeff
- Original Message -
From: Mitko Gerensky-Greene [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, September 19, 2002 2:59 PM
Subject: Urgent: Need help with a CFFILE error
, 2002 3:00 PM
To: CF-Talk
Subject: Urgent: Need help with a CFFILE error
Hello,
I am uploading an application which was built by the previous team and now I
have to resolve some issues...
Here is the page:
http://webapps1.hud.gov/pih/pha/plans/approved/approved_plans.cfm
When there, select
/#fiscalyear#/#statecode#_
#fiscalyear#.txt
variable=phacodeoff
cfset codeofflist=ListToArray(phacodeoff,;)
/cfif
/cfoutput
And here is the error I am getting:
Error Diagnostic Information
Error processing CFFILE
Error attempting to read
'http
path for it's file attribute. You
are sending it a URL.
Jeff
- Original Message -
From: Mitko Gerensky-Greene [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, September 19, 2002 2:59 PM
Subject: Urgent: Need help with a CFFILE error
Hello,
I am uploading an application
map a drive?
-Original Message-
From: Mitko Gerensky-Greene [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 3:09 PM
To: CF-Talk
Subject: Re: Urgent: Need help with a CFFILE error
OK, thanks. I DO need to read files from another server. What can I use
then?
Thanks,
Mitko
under has access to the server/folder.
At 03:15 PM 19/09/02 -0700, you wrote:
map a drive?
-Original Message-
From: Mitko Gerensky-Greene [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 3:09 PM
To: CF-Talk
Subject: Re: Urgent: Need help with a CFFILE error
OK, thanks. I DO
:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 3:00 PM
To: CF-Talk
Subject: Urgent: Need help with a CFFILE error
Hello,
I am uploading an application which was built by the previous team and now I
have to resolve some issues...
Here is the page:
http://webapps1.hud.gov/pih/pha/plans
Hi
I'm getting this error:
Unable to delete the file
'D:\InetPub\wwwroot\Ccsbt\documents_directory\test.cfm.' The filename,
directory name, or volume label syntax is incorrect. (error 123)
I've checked that the path and filename are correct but I don't know where
to go from there
Any
: cffile error 123
Hi
I'm getting this error:
Unable to delete the file
'D:\InetPub\wwwroot\Ccsbt\documents_directory\test.cfm.' The filename,
directory name, or volume label syntax is incorrect. (error 123)
I've checked that the path and filename are correct but I don't know where
at the end of the file name.
Thus CF is unable to delete the file.
Manually remove the PERIOD from TEST.CFM.
Then you will be fine
- Original Message -
From: Seamus Campbell [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, April 14, 2002 7:28 AM
Subject: cffile error 123
TEST.CFM.
Then you will be fine
- Original Message -
From: Seamus Campbell [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Sunday, April 14, 2002 7:28 AM
Subject: cffile error 123
Hi
I'm getting this error:
Unable to delete the file
'D:\InetPub\wwwroot
.
Doug Brown
- Original Message -
From: Kym Kovan [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, January 24, 2002 11:26 PM
Subject: Re: CFFILE ERROR
I keep getting the following error
Error Diagnostic Information
Error in CFFILE tag
The form field specified
that come out of Berkeley: LSD and [Unix]
BSD. We don't believe this to be a coincidence.
Doug Brown
- Original Message -
From: Kym Kovan [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, January 24, 2002 11:26 PM
Subject: Re: CFFILE ERROR
I keep getting the following
: Friday, January 25, 2002 10:38 AM
To: CF-Talk
Subject: Re: CFFILE ERROR
Nope. But you can change it immediately after it gets uploaded. If you are
having a file name conflict problem, you could always rename the file after
upload or you could upload into a different directory. (Either make
I keep getting the following error
Error Diagnostic Information
Error in CFFILE tag
The form field specified in the CFFILE tag (THUMBNAIL) does not contain
an uploaded file. Please be sure that you have specified the correct
form field name.
Here is my call to the tag, anything wrong here
I keep getting the following error
Error Diagnostic Information
Error in CFFILE tag
The form field specified in the CFFILE tag (THUMBNAIL) does not contain
an uploaded file. Please be sure that you have specified the correct
form field name.
You usually get that eror when you don't change the
Make sure that your form has enctype=multipart/form-data
At 11:30 PM 1/24/02 -0800, you wrote:
I keep getting the following error
Error Diagnostic Information
Error in CFFILE tag
The form field specified in the CFFILE tag (THUMBNAIL) does not contain
an uploaded file. Please be sure that you
Replace FILEFIELD=thumbnail with FILEFIELD=thumbnail
Here is my call to the tag, anything wrong here or some advice maybe?
The formfield name is correct!!
CFFILE
ACTION=upload
FILEFIELD=thumbnail
NAMECONFLICT=makeunique
DESTINATION=c:\carnivorepc\countrymusicgroup\_images\
Anyone ever get the following error?
Error attempting to read 'c:\Web\Cars\Master\CarImages.' Access is
denied. (error 5)
The CFFILE is this:
cffile action=READBINARY file=#Form.ImageDirectory#
variable=Images
I am on WinXP, Cf4.5 Pro
Thanks,
_
Bruce
PROTECTED]
-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 12, 2002 1:21 AM
To: CF-Talk
Subject: cffile Error
Anyone ever get the following error?
Error attempting to read 'c:\Web\Cars\Master\CarImages.' Access is
denied. (error 5)
The CFFILE
PROTECTED]
-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 12, 2002 1:21 AM
To: CF-Talk
Subject: cffile Error
Anyone ever get the following error?
Error attempting to read 'c:\Web\Cars\Master\CarImages.' Access is
denied. (error 5
Anyone ever get the following error?
Error attempting to read 'c:\Web\Cars\Master\CarImages.' Access is
denied. (error 5)
The CFFILE is this:
cffile action=READBINARY file=#Form.ImageDirectory#
variable=Images
It looks like you are specifying the directory but not the file itself.
--
Yours,
I just figured it out. Need to do a cfdirectory read first to get the file
names. I think that I need to go to bed.
- Original Message -
From: Kym Kovan [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Saturday, January 12, 2002 12:42 AM
Subject: Re: cffile Error
Anyone ever get
know,
Michael.
- Original Message -
From: Parra, Fernando [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 1:58 AM
Subject: cffile error
Can anyone help me?
I am trying to set an upload form and I am getting the following error:
Error Occurred While
Can anyone help me?
I am trying to set an upload form and I am getting the following error:
Error Occurred While Processing Request
Error Diagnostic Information Request canceled or ignored by serverServer
busy or unable to fulfill request. The server is unable to fulfill your
request due to
Has anyone seen this error message before:
Error in CFFILE tag
The form field specified in the CFFILE tag (DOCUMENT) does not contain
an uploaded file. Please be sure that you have specified the correct
form field name.
James
~~
Structure your
Make sure your FORM contains the encryption:
multipart/form-data
-Original Message-
From: James Taavon [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 9:20 AM
To: CF-Talk
Subject: CFFILE Error
Has anyone seen this error message before:
Error in CFFILE tag
The form field
ou can see what browser
version is used when the error occurs. Usually it's MSIE 3.02.
Mike Cady
- Original Message -
From: "James Taavon" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Friday, April 13, 2001 9:20 AM
Subject: CFFILE Error
Has anyone
oh.. right. thanks for reminding me.
"Adkins, Randy" wrote:
Make sure your FORM contains the encryption:
multipart/form-data
-Original Message-
From: James Taavon [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 9:20 AM
To: CF-Talk
Subject: CFFILE Error
lict="overwrite"
and here is the error.
Error Diagnostic Information
Error processing CFFILE
Error attempting to save uploaded file to path 'D:\64.???.132.???\beta\images..'
Access is denied. (error 5)
The error occurred while processing an element with a general identifier of (CFFIL
-Talk
Subject: CFFILE Error (why?)
why do i get this error?
here is the query or rather the CFFile action.
cffile action="upload"
filefield="ItemPic"
destination="#storepath#\images" !-- the "#storepath#" is
'D:\64.???.132.???\beta'. i used ?'s jus
quot;
destination="#storepath#\images" !-- the "#storepath#" is
'D:\64.???.132.???\beta'. i used ?'s just for posting reasons. --
nameconflict="overwrite"
and here is the error.
Error Diagnostic Information
Error processing CFFILE
Error attempting to save upl
nameconflict="overwrite"
and here is the error.
Error Diagnostic Information
Error processing CFFILE
Error attempting to save uploaded file to path
'D:\64.???.132.???\beta\images..' Access is denied. (error 5)
The error occurred while processing an element with a general
identifi
Web Pro USA
406.549.3337 ext. 203
1.888.5WEBPRO
www.webpro-usa.com
- Original Message -
From: "Chad Gray" [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Tuesday, February 27, 2001 1:45 PM
Subject: Re: CFFILE Error (why?)
Is there a directory on the D driv
the following error occurs and i am a little confused as i have 2 copies one
copy on each of 2 totally different cf hosting services
on one of the cf hosts this error does not occur whislt on the other cf host
the error occurs and the code is 100% identical on both sites
your comments please
: Wednesday, November 01, 2000 9:35 AM
To: CF-Talk
Subject: CFFile ERROR
the following error occurs and i am a little confused as i have 2 copies one
copy on each of 2 totally different cf hosting services
on one of the cf hosts this error does not occur whislt on the other cf host
the error occurs
1:44 AM
Subject: RE: CFFile ERROR
Are both services running the same version of CF. I had a problem a while
back where the host was running an older version that behaved differently
than the same code running on my servers.
Scott
Scott Brader
USAV Group
5485 S. Westridge Dr.
PO Box 510620
New B
ailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 01, 2000 9:35 AM
To: CF-Talk
Subject: CFFile ERROR
the following error occurs and i am a little confused as i have 2 copies one
copy on each of 2 totally different cf hosting services
on one of the cf hosts this error does not occur whis
Has anyone seen this problem. I know everything works because the same code works on
our test server but not on prod. I don't even know where to look for the problem.
Here is the error message.
Error Occurred While Processing Request
Error Diagnostic Information
Error processing CFFILE
-
From: "Michael Ross" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 26, 2000 11:15 AM
Subject: URGENT CFFILE Error
Has anyone seen this problem. I know everything works because the same
code works on our test server but not on prod. I don't even know whe
Did you try type="any"?
-Original Message-
From: Dan Blickensderfer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 27, 2000 3:23 PM
To: [EMAIL PROTECTED]
Subject: CFFile Error
I have a little problem with cffile accepting other picture formats then
just image/gif, ima
I had that problem until I added the enctype to my form tag. See below.
form action="uploadaction.cfm" enctype="multipart/form-data" method="post"
input type="file" name="testfile"
The form field specified in the CFFILE tag (FILMESSAGE) does not contain
an
uploaded file. Please be sure you
I have been around the block with this error and at the moment am very
frustrated.
First the line of code:
CFFILE ACTION="upload" FILEFIELD="filMessage" DESTINATION="#SavePath#"
NAMECONFLICT="overwrite"
The error:
The form field specified in the CFFILE tag (FILMESSAGE) does not contain an
-
From: John Keane [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 29, 2000 10:54 AM
To: [EMAIL PROTECTED]
Subject: CFFILE error
I have been around the block with this error and at the moment am very
frustrated.
First the line of code:
CFFILE ACTION="upload" FILEFIELD=&quo
72 matches
Mail list logo