I think I'm on the right track with this problem but I'm not sure how to
treat it.

Site has a backend facility that allows admins to upload files. Despite my
best advice they do on the odd occasion upload a file with spaces in the
file name e.g. "my file.doc"

When I output the file name and link in the query the page renders it as
"my%20file.doc" which I don't have a problem with. However, when I do a
CFDIRECTORY to get the file size, SIZE is returning nothing and this
generates a..

The value '' cannot be converted to a number.

when I try to process the file size for display on the screen.

I suspect its got something to do with the space in the file name i.e.
CFDIRECTORY can't find the file, but I'm not sure how to treat this problem.

Any advice please.


++++++++++
Kevin Parker
Advanced Imaging

e: [email protected]
w: www.advancedimaging.com.au
m: 0418 815 527

++++++++++

http://au.linkedin.com/in/krparker



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349093
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to