Re: Need help on http Error 405

2000-11-05 Thread David Cummins

Its probably the much hated latest version of IIS. It parses the URL from right
to left, instead of left to right.

Its technically correct, but it stuffs up that particular trick (i.e. the only
way to get some browsers to use the right filename).

David Cummins

"Chen, Yung-Chih (CIT)" wrote:
 
 thank you for suggestion, but  why this code
 cfform action="download.cfm/download.csv" method="POST" name="sform"
 
 works on Netscape webserver, but does not work on IIS
 when user click submit it will let use save that file as download.csv!
 
 YC
 
 -Original Message-
 From: David Gassner [mailto:[EMAIL PROTECTED]]
 Sent: Friday, November 03, 2000 1:03 PM
 To: CF-Talk
 Subject: RE: Need help on http Error 405
 
 Error 405 means that IIS doesn't understand the requests's file extension
 and can't properly dispatch it to the ColdFusion server.  Your action
 attribute implies a file extension ".cfm/download.csv" which is meaningless
 to the web server.
 
 If you want the user to be able to download a file called download.csv, just
 call the download.cfm page; in that page, include the commands:
 
 CFHEADER NAME="Content-Disposition" VALUE="Filename=download.csv"
 CFCONTENT TYPE="application/excel" FILE="[fullpath]download.csv"
 
 where the file is the complete path and filename in the server file system.
 
 Also, note that the ENCTYPE attribute in the form is for uploading a file,
 not downloading one.
 
  -Original Message-
  From: Chen, Yung-Chih (CIT) [mailto:[EMAIL PROTECTED]]
  Sent: Friday, November 03, 2000 6:32 AM
  To: CF-Talk
  Subject: RE: Need help on http Error 405
 
 
  hi,
  I have add enctype="multipart/form-data"
  cfform action="download.cfm/download.csv" method="POST" name="sform"
  enctype="multipart/form-data" onSubmit="return ck_submit();"
  onReset="clear_lists();"
 
  but I am still getting http Error 405 error, and suggestion
 
  YC
 
  -Original Message-----
  From: Steve Bernard [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 02, 2000 7:02 PM
  To: [EMAIL PROTECTED]
  Cc: Chen, Yung-Chih (CIT)
  Subject: RE: Need help on http Error 405
 
 
  You need to add "Type=multipart/form-data" to the FORM tag, double check
  spelling ;)
 
  Steve
 
  -Original Message-
  From: Chen, Yung-Chih (CIT) [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 02, 2000 3:58 PM
  To: CF-Talk
  Subject: Need help on http Error 405
 
  I have a page allow user to download data in CSV file extension.
  it was working at the production server(Unix, netscape web server)
  but does not work on my developement server (NT , IIS 4)
  here is the code:
  form action="download.cfm/download.csv" method="post"
 
  when user click submit, it will call download.cfm to download
  data and open
  download.csv with MS Excel.
 
 
  Is there something I need to do on the Webserver?
 
  any suggestion will be helpful!!
 
  Thanks
 
  YC
  --
  --
  Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
  Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
  or send a message with 'unsubscribe' in the body to
  [EMAIL PROTECTED]
 
 
 
 
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
 message with 'unsubscribe' in the body to [EMAIL PROTECTED]
 

 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Need help on http Error 405

2000-11-03 Thread Chen, Yung-Chih (CIT)

hi,
I have add enctype="multipart/form-data"
cfform action="download.cfm/download.csv" method="POST" name="sform"
enctype="multipart/form-data" onSubmit="return ck_submit();"
onReset="clear_lists();"

but I am still getting http Error 405 error, and suggestion

YC

-Original Message-
From: Steve Bernard [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 7:02 PM
To: [EMAIL PROTECTED]
Cc: Chen, Yung-Chih (CIT)
Subject: RE: Need help on http Error 405


You need to add "Type=multipart/form-data" to the FORM tag, double check
spelling ;)

Steve

-Original Message-
From: Chen, Yung-Chih (CIT) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 3:58 PM
To: CF-Talk
Subject: Need help on http Error 405

I have a page allow user to download data in CSV file extension.
it was working at the production server(Unix, netscape web server)
but does not work on my developement server (NT , IIS 4)
here is the code:
form action="download.cfm/download.csv" method="post"

when user click submit, it will call download.cfm to download data and open
download.csv with MS Excel.


Is there something I need to do on the Webserver?

any suggestion will be helpful!!

Thanks

YC

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Need help on http Error 405

2000-11-03 Thread David Gassner

Error 405 means that IIS doesn't understand the requests's file extension
and can't properly dispatch it to the ColdFusion server.  Your action
attribute implies a file extension ".cfm/download.csv" which is meaningless
to the web server.

If you want the user to be able to download a file called download.csv, just
call the download.cfm page; in that page, include the commands:

CFHEADER NAME="Content-Disposition" VALUE="Filename=download.csv"
CFCONTENT TYPE="application/excel" FILE="[fullpath]download.csv"

where the file is the complete path and filename in the server file system.

Also, note that the ENCTYPE attribute in the form is for uploading a file,
not downloading one.

 -Original Message-
 From: Chen, Yung-Chih (CIT) [mailto:[EMAIL PROTECTED]]
 Sent: Friday, November 03, 2000 6:32 AM
 To: CF-Talk
 Subject: RE: Need help on http Error 405


 hi,
 I have add enctype="multipart/form-data"
 cfform action="download.cfm/download.csv" method="POST" name="sform"
 enctype="multipart/form-data" onSubmit="return ck_submit();"
 onReset="clear_lists();"

 but I am still getting http Error 405 error, and suggestion

 YC

 -Original Message-
 From: Steve Bernard [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 02, 2000 7:02 PM
 To: [EMAIL PROTECTED]
 Cc: Chen, Yung-Chih (CIT)
 Subject: RE: Need help on http Error 405


 You need to add "Type=multipart/form-data" to the FORM tag, double check
 spelling ;)

 Steve

 -Original Message-
 From: Chen, Yung-Chih (CIT) [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 02, 2000 3:58 PM
 To: CF-Talk
 Subject: Need help on http Error 405

 I have a page allow user to download data in CSV file extension.
 it was working at the production server(Unix, netscape web server)
 but does not work on my developement server (NT , IIS 4)
 here is the code:
 form action="download.cfm/download.csv" method="post"

 when user click submit, it will call download.cfm to download
 data and open
 download.csv with MS Excel.


 Is there something I need to do on the Webserver?

 any suggestion will be helpful!!

 Thanks

 YC
 --
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
 or send a message with 'unsubscribe' in the body to
 [EMAIL PROTECTED]



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Need help on http Error 405

2000-11-03 Thread Chen, Yung-Chih (CIT)

thank you for suggestion, but  why this code
cfform action="download.cfm/download.csv" method="POST" name="sform"

works on Netscape webserver, but does not work on IIS
when user click submit it will let use save that file as download.csv!

YC

-Original Message-
From: David Gassner [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 03, 2000 1:03 PM
To: CF-Talk
Subject: RE: Need help on http Error 405


Error 405 means that IIS doesn't understand the requests's file extension
and can't properly dispatch it to the ColdFusion server.  Your action
attribute implies a file extension ".cfm/download.csv" which is meaningless
to the web server.

If you want the user to be able to download a file called download.csv, just
call the download.cfm page; in that page, include the commands:

CFHEADER NAME="Content-Disposition" VALUE="Filename=download.csv"
CFCONTENT TYPE="application/excel" FILE="[fullpath]download.csv"

where the file is the complete path and filename in the server file system.

Also, note that the ENCTYPE attribute in the form is for uploading a file,
not downloading one.

 -Original Message-
 From: Chen, Yung-Chih (CIT) [mailto:[EMAIL PROTECTED]]
 Sent: Friday, November 03, 2000 6:32 AM
 To: CF-Talk
 Subject: RE: Need help on http Error 405


 hi,
 I have add enctype="multipart/form-data"
 cfform action="download.cfm/download.csv" method="POST" name="sform"
 enctype="multipart/form-data" onSubmit="return ck_submit();"
 onReset="clear_lists();"

 but I am still getting http Error 405 error, and suggestion

 YC

 -Original Message-
 From: Steve Bernard [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 02, 2000 7:02 PM
 To: [EMAIL PROTECTED]
 Cc: Chen, Yung-Chih (CIT)
 Subject: RE: Need help on http Error 405


 You need to add "Type=multipart/form-data" to the FORM tag, double check
 spelling ;)

 Steve

 -Original Message-
 From: Chen, Yung-Chih (CIT) [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, November 02, 2000 3:58 PM
 To: CF-Talk
 Subject: Need help on http Error 405

 I have a page allow user to download data in CSV file extension.
 it was working at the production server(Unix, netscape web server)
 but does not work on my developement server (NT , IIS 4)
 here is the code:
 form action="download.cfm/download.csv" method="post"

 when user click submit, it will call download.cfm to download
 data and open
 download.csv with MS Excel.


 Is there something I need to do on the Webserver?

 any suggestion will be helpful!!

 Thanks

 YC
 --
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
 or send a message with 'unsubscribe' in the body to
 [EMAIL PROTECTED]




Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Need help on http Error 405

2000-11-02 Thread Steve Bernard

You need to add "Type=multipart/form-data" to the FORM tag, double check
spelling ;)

Steve

-Original Message-
From: Chen, Yung-Chih (CIT) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 02, 2000 3:58 PM
To: CF-Talk
Subject: Need help on http Error 405

I have a page allow user to download data in CSV file extension.
it was working at the production server(Unix, netscape web server)
but does not work on my developement server (NT , IIS 4)
here is the code:
form action="download.cfm/download.csv" method="post"

when user click submit, it will call download.cfm to download data and open
download.csv with MS Excel.


Is there something I need to do on the Webserver?

any suggestion will be helpful!!

Thanks

YC


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]