Xceed .NET Libraries Documentation
OpenFile Method


Xceed.SSH.SFtp Assembly > Xceed.SSH.SFtp Namespace > SFtp Class : OpenFile Method
Syntax
'Declaration
 
Public Function OpenFile( _
   ByVal path As String, _
   ByVal attributes As Attrs, _
   ByVal desiredAccess As SFtpConstants.AccessFlags, _
   ByVal flags As SFtpConstants.OpenFileFlags _
) As Byte()
'Usage
 
Dim instance As SFtp
Dim path As String
Dim attributes As Attrs
Dim desiredAccess As SFtpConstants.AccessFlags
Dim flags As SFtpConstants.OpenFileFlags
Dim value() As Byte
 
value = instance.OpenFile(path, attributes, desiredAccess, flags)

Parameters

path
attributes
desiredAccess
flags
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

Reference

SFtp Class
SFtp Members