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-length
> files,
> you might try wrapping the  upload in cftry/cfcatch.
> 
> NAT
> 
> > -----Original Message-----
> > From: Chris Lofback [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 26, 2002 8:45 AM
> > To: CF-Talk
> > Subject: 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
> > can't get any
> > info about files on the client system.
> >
> > Chris Lofback
> > Sr. Web Developer
> >
> > TRX Integration
> > 28051 US 19 N., Ste. C
> > Clearwater, FL  33761
> > www.trxi.com
> >
> >
> > > -----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 uploading a file (that the user has identified in an
> > > input type=file) using CFFILE. CFFILE does not allow zero
> > > length files.
> > >
> > > Is there a way I can get the filesize before attempting the
> upload?
> > >
> > > TIA,
> > >
> > > Sam
> > >
> > >
> > >
> > >
> > > ------------------------------------------------
> > > Changed your e-mail?  Keep your contacts!  Use this free
> > > e-mail change of address service from Return Path.  Register
> now!
> > >
> > 
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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

Reply via email to