Discuss this help topic in SecureBlackbox Forum

TElWebDAVClient.DownloadStream

TElWebDAVClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Downloads data to a stream.

Declaration

[C#]
    void DownloadStream(string URL, System.IO.Stream LocalStream, TSBFileTransferMode Mode);
    void DownloadStream(string URL, System.IO.Stream LocalStream, TSBFileTransferMode Mode, long RestartFrom);

[VB.NET]
    Sub DownloadStream(ByVal URL As String, ByVal LocalStream As System.IO.Stream, ByVal Mode As TSBFileTransferMode)
    Sub DownloadStream(ByVal URL As String, ByVal LocalStream As System.IO.Stream, ByVal Mode As TSBFileTransferMode, ByVal RestartFrom As Long)

[Pascal]
    procedure DownloadStream(URL : string; LocalStream : TStream; Mode : TSBFileTransferMode);
    procedure DownloadStream(URL : string; LocalStream : TStream; Mode : TSBFileTransferMode; RestartFrom : Int64);

[C++]
    void DownloadStream(const std::string &URL, TStream &LocalStream, TSBFileTransferMode Mode);
    void DownloadStream(const std::string &URL, TStream *LocalStream, TSBFileTransferMode Mode);
    void DownloadStream(const std::string &URL, TStream &LocalStream, TSBFileTransferMode Mode, int64_t RestartFrom);
    void DownloadStream(const std::string &URL, TStream *LocalStream, TSBFileTransferMode Mode, int64_t RestartFrom);

[PHP]
    void DownloadStream(string $URL, TStream $LocalStream, integer $Mode)
    void DownloadStream(string $URL, TStream $LocalStream, integer $Mode, integer $RestartFrom)

[Java]
    not available

Parameters

  • URL - the URL of the remote resource.
  • LocalStream - the local stream where the downloaded data should be saved.
  • Mode - specifies the data transfer mode.
  • RestartFrom - if the data has been partially downloaded, specifies where to restart the download from. If the value is -1, the download will restart from the beginning.

TSBFileTransferMode values

Description

    Use this method to download data to stream.

See also:     DownloadFile    

Discuss this help topic in SecureBlackbox Forum