Yeah I was sure it was not able to be done that way just needed to re-confirm. I proposed the renaming of the file after the upload is completed which is Simple and would be basically the same thing.
-----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, March 25, 2005 4:17 PM To: CF-Talk Subject: RE: File Uploading using CF > I think I know the answer to this but tossing it out here anyway. > > I have a client who wants to be able to upload files to the server. > No Problem right! Easy enough... > > However, they want to be able to hit the Browse button, get the file > and once it is populate in the input field (FILE), it should be > renamed. > > My thought is that with CF that when uploading files it would look for > the input field for FILE to process the upload. Even if the true path > and file was put to a hidden field and the FILE field was renamed, > which would CF process the upload for? > > I know with the CFFILE tag it asks for the field, has anyone specified > a hidden field other than the one on the form? > > Can this be done with straight forward CF and JS or would this call > for a COM object? You typically don't have much control over how files are uploaded within HTML forms, for obvious reasons. Why not just add a new text field to let them type in the name they want to give the file, and name it that once the file is uploaded? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200057 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

