So did you get it working? What fixed it?

Ade

-----Original Message-----
From: Colin Coles [mailto:[EMAIL PROTECTED]
Sent: 25 February 2005 16:30
To: CF-Newbie
Subject: Re: String index out of range: -4


>I've never used 'FORM.fileField' before, may a change to just 'fileField'
>would change things?
>
>Do you check that there is a file being posted?
>
>You can check a value was given with
>
><cfif Trim(FORM.fileField) NEQ "">
>
>but there's no checking you can do on the data being sent so wrap the
cffile
>tag in a cftry/cfcatch block.
>
>Also, you didn't mention it was cfform but I don't know if that maes a
>difference.
>
>Ade
Thanks for the help, Ade.
Basically the form records details of where the file is stored on the
server.
The file is uploaded simultaneously. It works fine on localhost but has
refused to work when I try to upload to the remote CF server.
--
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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:663
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