First upload() implementation.