Allow upload progress check

By making the upload url an option in the uploadFile() method.

With that option we can call the `/file/upload` action and use the `progress_url` later in our code.