I did it through coldfusion by calling Java classes. Java takes care of all
the temp directory checking for you by using the Commons file upload
libraries.

Here's a good article to get started:
http://blogs.missiondata.com/?p=28



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Frank
Sent: Sunday, April 09, 2006 11:27 AM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] Re: RE: File upload progress bar

Daniel,
Could you go into more depth with a coldfusion example? Like on a 
windows box, what is the temp directory to check for, etc?

Any info would be greatly appreciated.

Thank You,
Frank

Daniel Elmore wrote:
>>From my understanding, it isn't too hard to create your own progress
reader.
> When a file is submitted a HTTP Header "Content-Length" is sent, which 
> tells
> the size of the file in bytes. Then you can repeatedly check the upload
> status by getting the file size from the OS temp directory. All you need 
> is
> the total file size and the current file size to create a little 
> percentage
> bar.
> 
> 
> 
> This has been done in ColdFusion very easily. Don't know if .NET is 
> going to
> be painless.
> 
> 
> 
> -Daniel


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to