Friday, August 10, 2007

 

Eiffel download cgi

Although most of my work the last few months has been PHP, there are still times were Eiffel is unavoidable. I needed an image upload tool that could give a user feedback on the upload progress. You can't write this in PHP as it doesn't allow you to work at the level you need to, to implement this.

There are some Perl scripts out there, but it introduces dependencies on libraries and who knows how well those scripts work when there are no invariants to give some peace of mind.

So with some minor modifications to eposix it is now possible to override certain EPX_MIME classes so one can save uploaded files to a given name instead of a temporary file. And now it is possible for a script to report on the size of the file that is being created.

This page is powered by Blogger. Isn't yours?