RE: CFFile Replacment

2001-12-07 Thread Dunwiddie, Bruce

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 code done... The problem is if someone uploads a
file called header.gif I get passed the name of the temporary file that
is create ie c:\winnt\acer33.gif this I can then move etc... But how can
I get hold of header.gif so that when I do the move the destination name
is called 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 Ticonderoga
Web Developer Extraordinaire

-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 1:11 PM
To: CF-Talk
Subject: RE: CFFile Replacment


Sorry What im trying to do is allow file uploading when the
administrator has disabled the CFFILE tag... I can get the file to the
destination OK however I cannot find a way of working out what the
original file was called...


So I need to find the Orginal name of the file 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

+




~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFFile Replacment

2001-12-07 Thread Mike Townend

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 a nasty feeling that I will need to hook into IIS or something
like 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 Townend [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 12:28 PM
To: CF-Talk
Subject: RE: CFFile Replacment


Yes I have all that code done... The problem is if someone uploads a
file called header.gif I get passed the name of the temporary file that
is create ie c:\winnt\acer33.gif this I can then move etc... But how can
I get hold of header.gif so that when I do the move the destination name
is called 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 Ticonderoga
Web Developer Extraordinaire

-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 1:11 PM
To: CF-Talk
Subject: RE: CFFile Replacment


Sorry What im trying to do is allow file uploading when the
administrator has disabled the CFFILE tag... I can get the file to the
destination OK however I cannot find a way of working out what the
original file was called...


So I need to find the Orginal name of the file 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

+





~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFFile Replacment

2001-12-07 Thread Dunwiddie, Bruce

even without trying the code, I'd have to argue. form.myfile is the name of
the file and the path on their computer which you would normally then use in
cffile to upload with if you're using input type=file to upload with.

-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]]
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 a nasty feeling that I will need to hook into IIS or something
like 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 Townend [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 12:28 PM
To: CF-Talk
Subject: RE: CFFile Replacment


Yes I have all that code done... The problem is if someone uploads a
file called header.gif I get passed the name of the temporary file that
is create ie c:\winnt\acer33.gif this I can then move etc... But how can
I get hold of header.gif so that when I do the move the destination name
is called 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 Ticonderoga
Web Developer Extraordinaire

-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 1:11 PM
To: CF-Talk
Subject: RE: CFFile Replacment


Sorry What im trying to do is allow file uploading when the
administrator has disabled the CFFILE tag... I can get the file to the
destination OK however I cannot find a way of working out what the
original file was called...


So I need to find the Orginal name of the file 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

+






~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFFile Replacment

2001-12-07 Thread Max Paperno



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 that. I remember I had to do this once for some 
project a long time ago and from what I recall it worked well (YMMV).

HTH,
-Max



~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFFile Replacment

2001-12-06 Thread Mike Townend

Sorry What im trying to do is allow file uploading when the
administrator has disabled the CFFILE tag... I can get the file to the
destination OK however I cannot find a way of working out what the
original file was called...


So I need to find the Orginal name of the file 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

+

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFFile Replacment

2001-12-06 Thread Robert Everland

Is it a Windows computer. If so you can use Active X objects to read the
file. 

Robert Everland III
Dixon Ticonderoga
Web Developer Extraordinaire

-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 1:11 PM
To: CF-Talk
Subject: RE: CFFile Replacment


Sorry What im trying to do is allow file uploading when the
administrator has disabled the CFFILE tag... I can get the file to the
destination OK however I cannot find a way of working out what the
original file was called...


So I need to find the Orginal name of the file 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

+


~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFFile Replacment

2001-12-06 Thread Mike Townend

Yes I have all that code done... The problem is if someone uploads a
file called header.gif I get passed the name of the temporary file that
is create ie c:\winnt\acer33.gif this I can then move etc... But how can
I get hold of header.gif so that when I do the move the destination name
is called 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 Ticonderoga
Web Developer Extraordinaire

-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 1:11 PM
To: CF-Talk
Subject: RE: CFFile Replacment


Sorry What im trying to do is allow file uploading when the
administrator has disabled the CFFILE tag... I can get the file to the
destination OK however I cannot find a way of working out what the
original file was called...


So I need to find the Orginal name of the file 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

+



~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFFile Replacment

2001-12-05 Thread Bryan Love

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: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists