Handyman

This past weekend I took an extra day off, so it made a 5-day weekend with Memorial Day.  I always seem to need extra time around then because the whole house needs to be cleaned up and readied for our annual summer kickoff barbecue with our parents.  It’s really the biggest excuse to knock out all of the work that would normally be spread out over weeks in one or two weekends, to make sure it all gets done and other projects can be started over the rest of the summer.  So between power washing and staining the deck, cleaning up the yard and finishing the painting in the living and dining rooms, replacing old or broken electrical outlets, I had plenty of things to do. Plus this year I didn’t have as much help as I normally do, due to injury.  So I was the weekend warrior/handyman again, getting muscle aches and running around like a crazy person to fix up what needed to be done in a short time span.

So then Tuesday rolls around, and here at DDA I had some other fix-it things that needed to be done.  We had a few projects that needed some tweaks, some testing and monitoring that generally needed work and of course a proposal that needed some fleshing out.  The big thing that I was working on was actually a Flash upload program.  Due to IIS limits and bandwidth issues, having an upload function within a web application is restrictive at best.  It can solve basic problems to just use a form and cffile upload through coldfusion, but sometimes that just isn’t good enough.  Some clients want to be able to upload multiple files, others want to upload giant files.  For each of these instances, the best plan of attack is to use a Javascript and Flash-based upload.  We have one such upload utility in a client package, however we started to find that due to the way the folder structure was being created the clients started having upload problems.  It seems that the “&” symbol was being used.  Now Javascript and Flash both use the ampersand as a field delimiter (for get and post operations) so whenever we were uploading to one of those folders, the upload would not work.  The simple solution in the end was to escape the folder name, which in this case means to convert all the characters to url encoded characters so it all passes through and doesn’t get decoded until the end.  This way, anything that is legal in the windows file system (any characters except \/:”*?<>|) is legal for the upload system.  In the end I was pretty proud of myself.