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

# Resource Upload Method (String, String, Int32, 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 void Upload(
    	string address,
    	string fileName,
    	int bufferSize,
    	ContentRange contentRange
    )

    Public Sub Upload (
    	address As String,
    	fileName As String,
    	bufferSize As Integer,
    	contentRange As ContentRange
    )

#### 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.
bufferSize
  Type: System
  Int32
  The buffer size. Default value is 8192 bytes.
contentRange
  Type: Independentsoft.Webdav
  ContentRange
  The content range.

See Also

#### Reference

Resource Class
Upload Overload
Independentsoft.Webdav Namespace

Copyright 2022 Independentsoft

Send comments on this topic to support@independentsoft.de