silly question, but wouldn't the name you're looking for be the value of the
form element you used to upload the file?
-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 12:28 PM
To: CF-Talk
Subject: RE: CFFile Replacment
Yes I have all
that
-Original Message-
From: Dunwiddie, Bruce [mailto:[EMAIL PROTECTED]]
Sent: 07 December 2001 16:16
To: CF-Talk
Subject: RE: CFFile Replacment
silly question, but wouldn't the name you're looking for be the value of
the form element you used to upload the file?
-Original Message-
From: Mike
]]
Sent: Friday, December 07, 2001 11:11 AM
To: CF-Talk
Subject: RE: CFFile Replacment
No this gets replaced with the path and filename of the uploaded file
which is not the name of the original file...
Ie
Orig file = c:\foo\myfile.gif
- Form Posts
FORM.MYFile = c:\winnt\asdfih.gif
Ive got
Ive got a nasty feeling that I will need to hook into IIS or something
like that
As a workaround you might consider using some JavaScript on the form page to grab the
value of the file upload field and write it to a hidden field in the form. Use the
OnSubmit handler or something like
without
using CFFIle
Thanx in advance
-Original Message-
From: Bryan Love [mailto:[EMAIL PROTECTED]]
Sent: 05 December 2001 19:24
To: CF-Talk
Subject: RE: CFFile Replacment
after doing the upload:
#file.serverFile# for the whole thing with extension
that is uploaded without
using CFFIle
Thanx in advance
-Original Message-
From: Bryan Love [mailto:[EMAIL PROTECTED]]
Sent: 05 December 2001 19:24
To: CF-Talk
Subject: RE: CFFile Replacment
after doing the upload:
#file.serverFile# for the whole thing with extension
header.gif
Thankx in advance
Mike
-Original Message-
From: Robert Everland [mailto:[EMAIL PROTECTED]]
Sent: 06 December 2001 18:14
To: CF-Talk
Subject: RE: CFFile Replacment
Is it a Windows computer. If so you can use Active X objects to read the
file.
Robert Everland III
Dixon
after doing the upload:
#file.serverFile# for the whole thing with extension
+
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives:
8 matches
Mail list logo