I'm currently working on replacing a naff upload script that is part of our B2B system. It's the first thing I did at my current employer, indeed it was one of the interview questions: file upload over HTTP.
The current code is a bit of a hack having to run on an evil NT4/IIS box. The new script is better thought out, has cleaner logging, and best of all runs on Linux/Apache - something a tad more reliable than NT4...
It's a classic un-sung hero, the overall process pulls through over $12m per year, and it just chugs away, mostly without a problem. It does have problems now and then, but that's usually human error at the customer end. The revised system should make dealing with errors easier, and allowing our customer to change their process.