Agreed, not dodgy at all. I think it's called "Coding by Exception".

Brett
B)

Steve Onnis wrote:
Its not dodgy

it INVENTIVE

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ryan Sabir
Sent: Thursday, 12 June 2003 7:05 PM
To: CFAussie Mailing List
Subject: [cfaussie] RE: File upload on Mac


Thanks folks...


I knew I could count on you guys for dodgy workarounds...

:)


Thursday, June 12, 2003, 6:48:23 PM, you wrote:



I know about trimming the file field.. but that doesn't seem to be the
problem. You see, the value of Form.theFile is set to
"C:\WINNT\ACF393.tmp" even if no file has been selected!


JS> Been there...


JS> My solution (much to the disgust of Onnis) was to just go ahead and do
the
JS> <cffile..> anyway.

JS> Put it inside a CFTRY... if it bombs, you know there's no file.

JS> Dodgy, but it works... :)
JS> _______________________
JS> James Silva
JS> Web Production
JS> Gruden Pty Ltd

JS> Tel:   +61 02 9956 6388
JS> Fax:   +61 02 9956 8433
JS> Email: [EMAIL PROTECTED]
JS> Web:   www.gruden.com
JS> _______________________


JS> --- JS> You are currently subscribed to cfaussie as: [EMAIL PROTECTED] JS> To unsubscribe send a blank email to [EMAIL PROTECTED]

JS> MX Downunder AsiaPac DevCon - http://mxdu.com/


----------------------- Ryan Sabir Newgency Pty Ltd 2a Broughton St Paddington 2021 Sydney, Australia Ph (02) 9331 2133 Fax (02) 9331 5199 Mobile: 0411 512 454 http://www.newgency.com/index.cfm?referer=rysig


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



--
Brett Payne-Rhodes
Eaglehawk Computing
t: +61 (0)8 9371-0471
f: +61 (0)8 9371-0470
m: +61 (0)414 371 047
e: [EMAIL PROTECTED]
w: www.ehc.net.au


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to