Fixed transfer API file adding issue.

Replaced the use of a POST param to determine the filename with the
use of the "Content-Disposition" header.