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)

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
    )

    Public Sub Upload (
    	address As String,
    	fileName As String
    )

#### 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.

See Also

#### Reference

Resource Class
Upload Overload
Independentsoft.Webdav Namespace

Copyright 2022 Independentsoft

Send comments on this topic to support@independentsoft.de