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 wrote:
>
> > I have a file that is creating
Ok thanks Dave,
On Tue, Nov 9, 2010 at 8:47 PM, Dave Watts wrote:
>
> > I have a file that is creating a CF template using the following code:
> >
> >
> > > action = "write"
> >*file =
> > "#ExpandPath('/contentFiles/#maxContentID#_#language#.cfm')#" *
> >
> I have a file that is creating a CF template using the following code:
>
>
> action = "write"
> *file =
> "#ExpandPath('/contentFiles/#maxContentID#_#language#.cfm')#" *
> output = "#Evaluate( "#language#TEXT" )#"
> nameconflict="overwr
I have a file that is creating a CF template using the following code:
It used to work fine but all of a sudden the red line is causing the
following error:
*Complex object types cannot be converted to simple values.
The expression has requested a variable or an intermedi
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 and
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 in
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 applicati
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:
--
~
Update: Interestingly enough a reboot fixed this. Normally I can just switch
accounts and restart the service, but for whatever reason a reboot was what
was needed...
J
On 1/10/07, J W <[EMAIL PROTECTED]> wrote:
>
> Here is a strange one..
>
> I have to copy files from on server to another using
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 l
> > 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
~~
>
> 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
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 ca
tsfield
> http://acoderslife.com
> -Original 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.
>
> works fine as long as there
1:01 PM
To: CF-Talk
Subject: Re: Cffile Error
\\SWPRINT\LAB_HEMA is a network printer.
works fine as long as there is a file.
I think the issue is mailto:[EMAIL PROTECTED]
> Sent: Saturday, December 03, 2005 1:35 AM
> To: CF-Talk
> Subject: Cffile Error
>
> C:\CFusionMX\runti
\\SWPRINT\LAB_HEMA is a network printer.
works fine as long as there is a file.
I think the issue is mailto:[EMAIL PROTECTED]
> Sent: Saturday, December 03, 2005 1:35 AM
> To: CF-Talk
> Subject: Cffile Error
>
> C:\CFusionMX\runtime\bin>copy
> D:\Inetpub\WWWROOT\B
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\bin>copy
D:\Inetpub\WWWROOT\BBDatab
C:\CFusionMX\runtime\bin>copy
D:\Inetpub\WWWROOT\BBDatabase\results.txt \\SWPRINT\LAB_HEMA
The system cannot find the file specified.
select *
from PTBB
where len(MRN) = 7
order by Lname
Auto-print Testing at
#TimeFormat(CreateODBCTime(Now()), "HH:mm:ss tt")# on
#DateFormat(Crea
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 conf
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.
http://www.applewoodcommunity.com/')#/index.cfm"
variable="content">
T
--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 Request
An er
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.
applewoodcommunity.com/index.c
turday, January 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.
destinatio
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.
destination="c:\ix\uploads\"
nameconflict="makeunique"
filefield="ima
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'.
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 C
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
From: Mitko Gerensky-Greene [mailto:[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://weba
nning 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 w
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
olute 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
>
t;
>
>
>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)
>
, 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 a
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
phacodeoff">
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
> >Manually remove the PERIOD from TEST.CFM.
> >
> >Then you will be fine
> >
> >
> >
> >- Original Message -
> >From: "Seamus Campbell" <[EMAIL PROTECTED]>
> >To: "CF-Talk" <[EMAIL PROTECTED]>
> >
.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
>
>
> > H
: 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\Ccsbt\documents_directory\test.cfm.' The filename,
> directory name, or volume label syntax is incorrect. (error
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 clue
mailto:[EMAIL PROTECTED]]
Sent: 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
here are two major products 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]>
&
dence.
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 Diagno
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!!
>
>ACTION="upload"
> FILEFIELD="thumbnail"
> NAMECONFLICT="makeunique"
> DESTINATION="c:\carnivorepc\countrymusicgroup\_images
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 th
>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 chan
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 or
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
Subje
>Anyone ever get the following error?
>Error attempting to read 'c:\Web\Cars\Master\CarImages.' Access is
>denied. (error 5)
>
>The CFFILE is this:
>
>variable="Images">
It looks like you are specifying the directory but not the file itself.
--
Yours,
Kym
_
ry 12, 2002 12:36 AM
Subject: RE: cffile Error
> It looks like you forgot an extension -- try appending an extra \
>
> .. either that ir it could be a permissions problem.
>
> -- jon
>
>
> -
> jon roig
> online community services man
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 CFFI
Anyone ever get the following error?
Error attempting to read 'c:\Web\Cars\Master\CarImages.' Access is
denied. (error 5)
The CFFILE is this:
I am on WinXP, Cf4.5 Pro
Thanks,
_
Bruce Sorge
ICQ#:145050973
Current ICQ status:
SMS: (Send an SMS message
et me 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 a
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 extr
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
> T
at 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 a
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
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
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 director
> why do i get this error?
> here is the query or rather the CFFile action.
>
>filefield="ItemPic"
> destination="#storepath#\images"
> nameconflict="overwrite"
> >
>
> and here is the error.
> Error Diagnostic Information
ation="#storepath#\images"
> 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.
-Talk
Subject: CFFILE Error (why?)
why do i get this error?
here is the query or rather the CFFile action.
nameconflict="overwrite"
>
and here is the error.
Error Diagnostic Information
Error processing CFFILE
Error attempting to save uploaded file to path
'D:\64.???.1
why do i get this error?
here is the query or rather the CFFile action.
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
Can we see the tag in question? It should look like this.
--K
-Original Message-
From: AustralianAccommodation.com Pty. Ltd.
[mailto:[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
ovember 02, 2000 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
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 whislt on the other cf host
the error o
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
Er
sage -
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'
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
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 accepting other picture formats then
just image/gif, image/jpg
I have a little problem with accepting other picture formats then
just image/gif, image/jpg. I would like to accept another format
(image/pjpeg) I added it to the accept pram in cffile. I'm still getting
the same error.
"The MIME type of the uploaded file (image/pjpeg) was not accepted by th
I had that problem until I added the enctype to my form tag. See below.
>The form field specified in the CFFILE tag (FILMESSAGE) does not >contain
an
>uploaded file. Please be sure you have specified the correct form >field
name.
> I have been around the block with this error and at the moment am very
> frustrated.
John, I use the following snippets of code and have no problems with an
upload (esp note section 2)
section 1 (upload file form)
==
New File:
s
ssage-
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:
The error:
The form field specified in
I have been around the block with this error and at the moment am very
frustrated.
First the line of code:
The error:
The form field specified in the CFFILE tag (FILMESSAGE) does not contain an
uploaded file. Please be sure you have specified the correct form field name.
filMessage contains
75 matches
Mail list logo