Re: upload handling
2007-01-29 08:38:26 GMT
In case this helps anyone else, I figured I'd post some sample code I used to get a progress bar working with Clearsilver (Python back end)
* This includes minimal (if any) error checking
* has only been tested in IE6 and Firefox
* assumes you are uploading to /tmp/uploads and that you have a /tmp/uploads/progress file to track the progress
* due to above assumptions, only works with one upload at a time ;)
It's rough around the edges and I don't recommend using it for anything other than a proof of concept or example code, but it illustrates all the major parts of a decent upload with progress indicator. I'm attaching it as a .zip instead of a tar.gz to be nice to any Windows users out there.
----- Original Message ----
From: Brandon Long <blong <at> fiction.net>
To: zeegco <zeegco <at> yahoo.com>
Cc: ClearSilver <at> yahoogroups.com
Sent: Monday, January 8, 2007 12:27:37 AM
Subject: Re: upload handling
There have been a couple messages on the group about using clearsilver
for file uploads, see:
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.