Namespace: ITHit.WebDAV.Client
The IFolderAsync type exposes the following members.
Name | Description | |
---|---|---|
ActiveLocks | Array of item's lock descriptions. (Inherited from IHierarchyItemAsync.) | |
AllowWriteStreamBuffering |
Gets or sets a value that indicates whether to buffer the data sent to server.
(Inherited from IConnectionSettingsAsync.) | |
CreationDate |
The date item was created.
(Inherited from IHierarchyItemAsync.) | |
DisplayName | User friendly item name. (Inherited from IHierarchyItemAsync.) | |
Href |
This item path on the server.
(Inherited from IHierarchyItemAsync.) | |
ItemType |
Type of the item (File, Folder, Version or VersionHistory)
(Inherited from IHierarchyItemAsync.) | |
LastModified |
Most recent modification date.
(Inherited from IHierarchyItemAsync.) | |
Properties |
Custom properties retrieved by GetChildrenAsync(Boolean, PropertyName) call.
(Inherited from IHierarchyItemAsync.) | |
SendChunked |
Gets or sets a value that indicates whether to send data in segments.
(Inherited from IConnectionSettingsAsync.) | |
SupportedLock | Lock types supported by the item. (Inherited from IHierarchyItemAsync.) | |
TimeOut |
Sets and gets time-out in milliseconds.
(Inherited from IConnectionSettingsAsync.) |
Name | Description | |
---|---|---|
CopyToAsync(IFolderAsync, String, Boolean, Boolean) |
Copies this item to destination folder.
(Inherited from IHierarchyItemAsync.) | |
CopyToAsync(IFolderAsync, String, Boolean, Boolean, LockUriTokenPair) |
Copies this item to destination folder.
(Inherited from IHierarchyItemAsync.) | |
CreateFileAsync(String) | Creates a file with a specified name. | |
CreateFileAsync(String, String) | Creates a file with specified name. | |
CreateFolderAsync(String) | Creates new folder with specified name as child of this one. | |
CreateFolderAsync(String, String) | Creates new folder with specified name as child of this one. | |
CreateLockNullAsync(String, TimeSpan, String, Boolean) |
Locks name for later use.
| |
CreateLockNullAsync(String, LockScope, Boolean, String, TimeSpan) |
Locks name for later use.
| |
DeleteAsync |
Deletes this item.
(Inherited from IHierarchyItemAsync.) | |
DeleteAsync(String) |
Deletes this item.
(Inherited from IHierarchyItemAsync.) | |
DeleteAsync(LockUriTokenPair) |
Deletes this item.
(Inherited from IHierarchyItemAsync.) | |
GetActiveLocksAsync | Obsolete.
Retrieves lock information about this item.
(Inherited from IHierarchyItemAsync.) | |
GetAllPropertiesAsync |
Retrieves all custom properties exposed by the item.
(Inherited from IHierarchyItemAsync.) | |
GetChildrenAsync(Boolean) | Returns children of this folder. | |
GetChildrenAsync(Boolean, PropertyName) |
Returns children of this folder together with custom properties.
| |
GetCommentAsync |
Brief comment about an item that is suitable for presentation to a user.
(Inherited from IHierarchyItemAsync.) | |
GetCreatorDisplayNameAsync |
Contains a description of the creator of the item that is suitable for presentation to a user.
(Inherited from IHierarchyItemAsync.) | |
GetFileAsync |
Gets the specified file from server.
| |
GetFolderAsync |
Gets the specified folder from server.
| |
GetItemAsync |
Returns IHierarchyItemAsync corresponding to name.
| |
GetParentAsync |
Retrieves parent hierarchy item of this item.
(Inherited from IHierarchyItemAsync.) | |
GetPropertyNamesAsync |
Returns names of all custom properties exposed by this item.
(Inherited from IHierarchyItemAsync.) | |
GetPropertyValuesAsync |
Retrieves values of specific properties.
(Inherited from IHierarchyItemAsync.) | |
GetSourceAsync |
Retrieves media type independent links.
(Inherited from IHierarchyItemAsync.) | |
GetSupportedLockAsync | Obsolete. Retrieves information about supported locks. (Inherited from IHierarchyItemAsync.) | |
ItemExistsAsync |
Checks whether specified item exists in the folder.
| |
LockAsync |
Locks the item.
(Inherited from IHierarchyItemAsync.) | |
MoveToAsync(IFolderAsync, String, Boolean) |
Moves this item to another location.
(Inherited from IHierarchyItemAsync.) | |
MoveToAsync(IFolderAsync, String, Boolean, LockUriTokenPair) |
Moves this item to another location.
(Inherited from IHierarchyItemAsync.) | |
RefreshAsync |
Rereads item properties from server.
(Inherited from IHierarchyItemAsync.) | |
RefreshLockAsync |
Prolongs the lock.
(Inherited from IHierarchyItemAsync.) | |
SetCommentAndAuthorAsync(String, String) |
Updates comment and author information.
(Inherited from IHierarchyItemAsync.) | |
SetCommentAndAuthorAsync(String, String, String) |
Updates comment and author information.
(Inherited from IHierarchyItemAsync.) | |
SupportedFeaturesAsync |
Gets the information about functionality supported by server (Class 1, Class 2 and so on).
(Inherited from IHierarchyItemAsync.) | |
UnlockAsync |
Removes the lock.
(Inherited from IHierarchyItemAsync.) | |
UpdatePropertiesAsync(Property, PropertyName) |
Updates values of properties exposed by this item.
(Inherited from IHierarchyItemAsync.) | |
UpdatePropertiesAsync(Property, PropertyName, String) |
Updates values of properties exposed by this item.
(Inherited from IHierarchyItemAsync.) |
string license = "<?xml version='1.0' encoding='utf... WebDavSessionAsync session = new WebDavSessionAsync(license); session.Credentials = new NetworkCredential("User1", "pwd"); IFolderAsync folder = await session.OpenFolderAsync(new Uri("http://server:8080/Sales")); IFileAsync file = await folder.CreateFileAsync("products.xlsx"); file.AllowWriteStreamBuffering = false; file.TimeOut = 36000000; // 10 hours await file.UploadAsync("C:\\products.xlsx");