You get a different error for that.

Invalid content type: "application/x-www-form-urlencoded".

CFFILE action="upload" requires forms to use enctype="multipart/form-data".

Or that's what I get on 6.1 with full debugging.

Ade

-----Original Message-----
From: Stephen Moretti (cfmaster) [mailto:[EMAIL PROTECTED]
Sent: 25 February 2005 16:59
To: CF-Newbie
Subject: Re: String index out of range: -4


Or possibly the form isn't set to accept multipart data.

<form enctype="multipart/form-data" ....>

Stephen

Adrian Lynch wrote:

>Got any more details? Uploading how? <input type="file" />? FTP and then
>running the page? Sounds like you might not be passing a file in the form
>field.
>
>Ade
>
>-----Original Message-----
>From: Colin Coles [mailto:[EMAIL PROTECTED]
>Sent: 25 February 2005 15:34
>To: CF-Newbie
>Subject: String index out of range: -4
>
>
>I get this error message when I try to upload a file to the server.
>Initially it said String index out of range: -6 and I found a field on my
>form that wasn't in the database. Fixed that - now this.
>Has anyone any idea what is happening here?
>--
>No virus found in this outgoing message.
>Checked by AVG Anti-Virus.
>Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005
>
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:655
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to