We all know that cf8 appends a 1 to the end of the file name to make
a unique new name, which works fine, until the file name gets to 255
characters. Is there a way to change this behavior? I have a web
application that users check out/in documents and there are some
documents that are heavily
Are you saying that ColdFusion is throwing errors during the file upload? Or
is something else going on?
--
Ben Nadel
Adobe Community Expert
Adobe Certified Advanced ColdFusion Developer
Manager New York ColdFusion User Group
http://www.bennadel.com
Need ColdFusion Help?
upload and make unique
Are you saying that ColdFusion is throwing errors during the file
upload? Or
is something else going on?
--
Ben Nadel
Adobe Community Expert
Adobe Certified Advanced ColdFusion Developer
Manager New York ColdFusion User Group
http://www.bennadel.com
Need ColdFusion Help
Rename it before giving it back to them. Not idea, but then you can't
control the users OS.
Adrian
-Original Message-
From: Huff, Jerome P. [mailto:jerome.h...@ngc.com]
Sent: 09 January 2009 16:05
To: cf-talk
Subject: RE: File upload and make unique
No,
Coldfusion is ok
How are you serving it up to the user? If you use CFHeader / CFContent, you
can set the filename:
cfheader name=content-disposition value=attachment;
filename=your_file_name.ext /
--
Ben Nadel
Adobe Community Expert
Adobe Certified Advanced ColdFusion Developer
Manager New York ColdFusion User
We all know that cf8 appends a 1 to the end of the file name to make
a unique new name, which works fine, until the file name gets to 255
characters. Is there a way to change this behavior? I have a web
application that users check out/in documents and there are some
documents that are
Assuming you are uploading from a form and the name of the file field is
file, the routine below will do it. You will need to rename the paths as
necessary. This routine will:
1) Rename the file with incremental numbers (1, 2, 3, etc)
2) Ensure the file name uses only standard characters (so it
This is what I was looking for thanks! I will study the code and
integrate into our website. Thanks again!
-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com]
Sent: Friday, January 09, 2009 12:19 PM
To: cf-talk
Subject: RE: File upload and make unique
-
From: Robert Harrison [mailto:rob...@austin-williams.com]
Sent: Friday, January 09, 2009 12:19 PM
To: cf-talk
Subject: RE: File upload and make unique
Assuming you are uploading from a form and the name of the file field is
file, the routine below will do it. You will need to rename the paths
9 matches
Mail list logo