Returns a Stream for reading data from the remote file.
Namespace:
Rebex.Net
Assembly:
Rebex.Ftp (in Rebex.Ftp.dll)
Syntax
Visual Basic |
---|
Public Function GetDownloadStream ( _ remotePath As String _ ) As Stream |
C# |
---|
public Stream GetDownloadStream( string remotePath ) |
Parameters
- remotePath
- Type: System..::..String
The path of the remote file.
Return Value
A Stream for reading data from the remote file.Implements
IFtp..::..GetDownloadStream(String)Remarks
Because the FTP protocol does not support processing multiple commands or transfers at the same time,
the stream has to be closed before any other FTP operation can be used.