Finish the logic of write. Deprecated uploadify.
Before Merge
Before Merge
Before Merge
MERGED