Uploads the specified local file to the specified resource, using the POST method.
This method does not block the calling thread.
- address (Uri)
- The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.
- method (String)
- The HTTP method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.
- fileName (String)
- The file to send to the resource.
- userToken (Object)
- A user-defined object that is passed to the method invoked when the asynchronous operation completes.