IInternalWebClient.

UploadFile(Uri, string, string) Method

Summary

Uploads the specified local file to a resource with the specified URI.

Syntax

byte[] UploadFile(Uri address, string method, string fileName)

Parameters

Name Type Description
address Uri The URI of the resource to receive the file. For example, ftp://localhost/samplefile.txt.
method string The method that should be used for the upload.
fileName string The file to send to the resource. For example, "samplefile.txt".

Return Value

Type Description
byte[] The response of the server.