Interface IFileTransferObject
A holder for files to be transferred.
Namespace: EPiServer.Core.Transfer
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public interface IFileTransferObject
Properties
PermanentLinkVirtualPath
Gets the permanent link virtual path
Declaration
string PermanentLinkVirtualPath { get; }
Property Value
Type | Description |
---|---|
System.String | The permanent link virtual path |
ProviderName
Gets or sets the name of the provider for the transfered file.
Declaration
string ProviderName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the provider. |
ProviderRelativePath
Gets or sets the provider relative path for the transfered file.
Declaration
string ProviderRelativePath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The provider relative path. |
ProviderRelativeUnifiedPath
Gets or sets the unified path to the UnifiedPath (reltive the specified provider) that ACL is specified on
Declaration
string ProviderRelativeUnifiedPath { get; set; }
Property Value
Type | Description |
---|---|
System.String | The unified path. |
RawACL
The ACL for the file
Declaration
RawACE[] RawACL { get; set; }
Property Value
Type | Description |
---|---|
RawACE[] |
Url
Gets or sets the URL for the file
Declaration
string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String | The URL. |
Methods
CheckIn(String)
Check in the file.
Declaration
void CheckIn(string commment)
Parameters
Type | Name | Description |
---|---|---|
System.String | commment | The commment. |
OpenRead()
Opens the read stream for this file.
Declaration
Stream OpenRead()
Returns
Type | Description |
---|---|
System.IO.Stream | A read stream. |
OpenWrite(IContentTransferContext)
Opens a write stream for the file.
Declaration
Stream OpenWrite(IContentTransferContext context)
Parameters
Type | Name | Description |
---|---|---|
IContentTransferContext | context | The context. |
Returns
Type | Description |
---|---|
System.IO.Stream |