I've managed to hack together an uploader, but I need a progress bar to
go with it. I ended up using FTP to upload, and got a way to find the
progress while it's uploading. I split that off into another function in
the controller, which is all well and good.
The problem is that I need to repeatedly call the how_finished function
while the file is uploading. The form goes to the uploading function, so
I need another way to repeatedly call how_finished. The best way seems
controller. Looking at other Ruby progress bars
also requires a separate module for Apache that doesn't work for FTP
uploads. I've been looking around at JSON, but I don't really understand
it or how to use it to do what I want.
I'm pretty sure I have all the information I need in the program, the
problem is getting it all together and I'm not sure if that's even
possible. Does anyone have ideas?