NET FTP Library
UploadChunkAsync Method






KellermanSoftware.NetFtpLibrary Namespace > FTP Class : UploadChunkAsync Method
The chunk to append
The remote FTP File Name
Your custom object to be returned with Started, Progress, and Completed Events
Append a chunk to the end of a file
Syntax
'Declaration
 
Public Sub UploadChunkAsync( _
   ByVal localStream As System.IO.Stream, _
   ByVal ftpFileName As System.String, _
   ByVal customObject As System.Object _
) 
'Usage
 
Dim instance As FTP
Dim localStream As System.IO.Stream
Dim ftpFileName As System.String
Dim customObject As System.Object
 
instance.UploadChunkAsync(localStream, ftpFileName, customObject)
public void UploadChunkAsync( 
   System.IO.Stream localStream,
   System.string ftpFileName,
   System.object customObject
)
public procedure UploadChunkAsync( 
    localStream: System.IO.Stream;
    ftpFileName: System.String;
    customObject: System.TObject
); 
public function UploadChunkAsync( 
   localStream : System.IO.Stream,
   ftpFileName : System.String,
   customObject : System.Object
);
public: void UploadChunkAsync( 
   System.IO.Stream* localStream,
   System.string* ftpFileName,
   System.Object* customObject
) 
public:
void UploadChunkAsync( 
   System.IO.Stream^ localStream,
   System.String^ ftpFileName,
   System.Object^ customObject
) 

Parameters

localStream
The chunk to append
ftpFileName
The remote FTP File Name
customObject
Your custom object to be returned with Started, Progress, and Completed Events
Remarks
The remote FTP server must support the size command
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