Uploads a data buffer to a resource identified by a URI, using the specified method and identifying token.
- 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 file to the resource. If null, the default is POST for http and STOR for ftp.
- data (array<Byte>[]()[][])
- The data buffer to send to the resource.
- userToken (Object)
- A user-defined object that is passed to the method invoked when the asynchronous operation completes.