WebDAV .NET Class Library
WebDAV .NET Class Library
WebDAV .NET
Independentsoft.Webdav
Resource Class
Resource Methods
UploadFile Method
UploadFile Method (String, String)
UploadFile Method (String, String, ContentRange)
UploadFile Method (String, String, Int32)
UploadFile Method (String, String, Int32, ContentRange)

# Resource UploadFile Method (String, String, ContentRange)

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

Namespace: Independentsoft.Webdav
Assembly: Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntax
C#
VB
Copy

    public FileUpload UploadFile(
    	string address,
    	string fileName,
    	ContentRange contentRange
    )

    Public Function UploadFile (
    	address As String,
    	fileName As String,
    	contentRange As ContentRange
    ) As FileUpload

#### Parameters

address
  Type: System
  String
  The URI of the resource to receive the file.
fileName
  Type: System
  String
  The file to send to the resource.
contentRange
  Type: Independentsoft.Webdav
  ContentRange
  The content range.

#### Return Value

Type: FileUpload
See Also

#### Reference

Resource Class
UploadFile Overload
Independentsoft.Webdav Namespace

Copyright 2022 Independentsoft

Send comments on this topic to support@independentsoft.de