I think the only way that would happen is the file name was somehow passed
via a form GET as opposed to a form POST and had to get URL encoded....
However, CFFile, as far as I know, will not work without a form POST. 

Make sure you are not specifying a file name in your CFFILE upload tag. Only
a destination folder. Rename it after it gets uploaded.

Weird error!
.......................
Ben Nadel 
Web Developer
Nylon Technology
350 7th Ave.
Suite 1005
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
www.nylontechnology.com

Sanders: Lightspeed too slow?
Helmet: Yes we'll have to go right to ludacris speed.
-----Original Message-----
From: Adrian Lynch [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 13, 2006 11:53 AM
To: CF-Talk
Subject: RE: cffile and names with spaces

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:237685
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to