NET FTP Library
GetStartingBytes Method






KellermanSoftware.NetFtpLibrary Namespace > FTP Class : GetStartingBytes Method
Get the first bytes in a file
Syntax
'Declaration
 
Public Function GetStartingBytes( _
   ByVal ftpFile As System.String, _
   ByVal length As System.Long _
) As System.Byte()
'Usage
 
Dim instance As FTP
Dim ftpFile As System.String
Dim length As System.Long
Dim value() As System.Byte
 
value = instance.GetStartingBytes(ftpFile, length)
public System.byte[] GetStartingBytes( 
   System.string ftpFile,
   System.long length
)
public function GetStartingBytes( 
    ftpFile: System.String;
    length: System.Int64
): System.array of Byte; 
public function GetStartingBytes( 
   ftpFile : System.String,
   length : System.long
) : System.byte[];
public: System.byte[]* GetStartingBytes( 
   System.string* ftpFile,
   System.long length
) 
public:
System.array<byte>^ GetStartingBytes( 
   System.String^ ftpFile,
   System.int64 length
) 

Parameters

ftpFile
length
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

FTP Class
FTP Members