RE: Uploading zero-length files

2002-09-30 Thread Yager, Brian T Contractor/Sverdrup
What are the other attributes to cgi that can be used? Is ther one for the file name? Is this in any of the CF books out there? Brian -Original Message- From: Greg Luce [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 9:37 AM To: CF-Talk Subject: RE: Uploading zero-length

Re: Uploading zero-length files

2002-09-27 Thread S . Isaac Dealey
Ahh... thanks Jochem, that's really informative... > Greg Luce wrote: >> Isaac, >> I noticed that the content_length variable wasn't >> exactly the >> size of the uploaded file, but close. I was thinking it >> must also >> included the rest of the form data. Could that be? I >> think if

RE: Uploading zero-length files

2002-09-27 Thread S . Isaac Dealey
That's what I would expect ... My cms only takes in one file at a time and there aren't any other inputs on that form, which would make restricting those file sizes fairly easy. :) On a form with a bunch of textareas would be a whole other ballgame... Textareas are great ... You specify on the fo

Re: Uploading zero-length files

2002-09-27 Thread jgeorges
I have been using IE 5.5 SP2, same behavior with Netscape 4.79 Sam --- On Thu 09/26, S.Isaac Dealey wrote: From: S.Isaac Dealey [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTECTED] Date: Thu, 26 Sep 2002 17:59:48 -0400 Subject: Re: Uploading zero-length files > That's interrest

Re: Uploading zero-length files

2002-09-27 Thread Jochem van Dieten
Greg Luce wrote: > Isaac, > I noticed that the content_length variable wasn't exactly the > size of the uploaded file, but close. I was thinking it must also > included the rest of the form data. Could that be? I think if the form > didn't have a lot of inputs the difference was less than 1K

RE: Uploading zero-length files

2002-09-27 Thread Greg Luce
ood enough to restrict files over like 100K or less than 2K. Greg -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 6:00 PM To: CF-Talk Subject: Re: Uploading zero-length files That's interresting... I wonder if that's a brows

RE: Uploading zero-length files

2002-09-27 Thread jgeorges
Nat, Thanks for the response. Sam --- On Thu 09/26, Nat Papovich wrote: From: Nat Papovich [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTECTED] Date: Thu, 26 Sep 2002 10:26:17 -0700 Subject: RE: Uploading zero-length files > If all you want to do is avoid errors caused by uploaded zero-len

Re: Uploading zero-length files

2002-09-26 Thread S . Isaac Dealey
s not > get passed for zero length files. So testing for the > existence of a filename solved my problem. > Sam > --- On Thu 09/26, S.Isaac Dealey wrote: > From: S.Isaac Dealey [mailto: [EMAIL PROTECTED]] > To: [EMAIL PROTECTED] > Date: Thu, 26 Sep 2002 10:54:02 -0400

RE: Uploading zero-length files

2002-09-26 Thread Nat Papovich
: RE: Uploading zero-length files > > > Unless you go to a Java applet (or something similar), I don't > think there's > a way to get the file size info at the client end before uploading. The > FileUpload form field doesn't provide file size and JavaScript > ca

RE: Uploading zero-length files

2002-09-26 Thread Chad
http://www.infomentum.com/appletfile/data.asp We are using the program and like it so far. > -Original Message- > From: Chris Lofback [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 26, 2002 10:45 AM > To: CF-Talk > Subject: RE: Uploading zero-length files >

Re: Uploading zero-length files

2002-09-26 Thread jgeorges
: From: S.Isaac Dealey [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTECTED] Date: Thu, 26 Sep 2002 10:54:02 -0400 Subject: Re: Uploading zero-length files > I think there are a couple cgi variables you can use to estimate it... > cgi.content_length or maybe http_content_length ... not sure...

RE: Uploading zero-length files

2002-09-26 Thread jgeorges
Thanks --- On Thu 09/26, Greg Luce wrote: From: Greg Luce [mailto: [EMAIL PROTECTED]] To: [EMAIL PROTECTED] Date: Thu, 26 Sep 2002 10:37:05 -0400 Subject: RE: Uploading zero-length files > I've done this: > > because someone told me about some 1 byte gif or something that ca

RE: Uploading zero-length files

2002-09-26 Thread Chris Lofback
Unless you go to a Java applet (or something similar), I don't think there's a way to get the file size info at the client end before uploading. The FileUpload form field doesn't provide file size and JavaScript can't get any info about files on the client system. Chris Lofback Sr. Web Developer

Re: Uploading zero-length files

2002-09-26 Thread S . Isaac Dealey
I think there are a couple cgi variables you can use to estimate it... cgi.content_length or maybe http_content_length ... not sure... If you have debugging turned on on the server, upload a file and then look at the list of cgi variables at the bottom of the page, the 1 or 2 you want should be fa

RE: Uploading zero-length files

2002-09-26 Thread Greg Luce
I've done this: because someone told me about some 1 byte gif or something that causes ddamage. Also to limit huge files. -Original Message- From: jgeorges [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 10:21 AM To: CF-Talk Subject: Uploading zero-length files I am uploa