foundation of flash upload tool.