SFTP Object
 
Syntax
 
SFTP.AccumulateBytes(handle As String, ByVal maxBytes As Long) As Long
 
Description
Downloads bytes from an open file and appends them to the AccumulateBuffer. The handle is a file handle returned by the OpenFile method. The maxBytes is the maximum number of bytes to read. If the end-of-file is reached prior to reading the number of requested bytes, then fewer bytes may be returned.
Returns the number of bytes downloaded and appended to AccumulateBuffer. Returns -1 on error.
 
See Also