Xceed .NET Libraries Documentation
Xceed.Ftp Assembly / Xceed.Ftp Namespace / FtpConnection Class / FxpTransferPolicy Property


In This Topic
    FxpTransferPolicy Property
    In This Topic
    Gets or sets a FxpTransferPolicy value that indicates if FXP file transfers are allowed and what kind of transfers can be made.
    Syntax
    'Declaration
     
    Public Property FxpTransferPolicy As FxpTransferPolicy
    'Usage
     
    Dim instance As FtpConnection
    Dim value As FxpTransferPolicy
     
    instance.FxpTransferPolicy = value
     
    value = instance.FxpTransferPolicy
    public FxpTransferPolicy FxpTransferPolicy {get; set;}

    Property Value

    FxpTransferPolicy value that indicates if FXP file transfers are allowed and what kind of transfers can be made.

    The default value is FxpTransferPolicy.NoTransferAllowed.

    Remarks

    When FXP transfers are enabled, calls to FtpFile.CopyTo and FtpFile.MoveTo can trigger FXP transfers automatically when the context meets the requirements.

    The property can be set even after FTP connections have been made.

    Example
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also