Finished implementing Flave upload.