Can't say I've ever seen spaces replaced with %20 in the file names on disk
before. Are you sure they're being renamed that way?

Adrian

-----Original Message-----
From: Jerry Johnson [mailto:[EMAIL PROTECTED]
Sent: 13 April 2006 16:40
To: CF-Talk
Subject: cffile and names with spaces


I have a simple form to upload an image.

I use cffile to upload the file.
I then use cffile.serverfile to get the name of the uploaded file

If the user uploads a file called "space.gif", all is well.
If the user uploads a file called "space station.gif", not so much.

The file saved to disk is "space%20station.gif"
The value in serverfile is "space station.gif"

And the two don't match.

I am obviously doing something wrong. Any hints?

Jerry Johnson


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237676
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to