CloudFile.UploadFromFile Method (String, FileMode, AccessCondition, FileRequestOptions, OperationContext)

 

Uploads a file to the File service. If the file already exists on the service, it will be overwritten.

Namespace:   Microsoft.WindowsAzure.Storage.File
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

[DoesServiceRequestAttribute]
public void UploadFromFile(
    string path,
    FileMode mode,
    AccessCondition accessCondition = null,
    FileRequestOptions options = null,
    OperationContext operationContext = null
)
<DoesServiceRequestAttribute>
Public Sub UploadFromFile (
    path As String,
    mode As FileMode,
    accessCondition As AccessCondition,
    options As FileRequestOptions,
    operationContext As OperationContext
)

Parameters

See Also

CloudFile Class
Microsoft.WindowsAzure.Storage.File Namespace

Return to top