FTPConnection.get

Retrieve a remote file's contents into a local file.

Calling this function will change the current data transfer format.

  1. void get(const(char)[] path, const(char)[] local_file, FtpProgress progress, FtpFormat format)
    class FTPConnection
    void
    get
    (
    const(char)[] path
    ,
    const(char)[] local_file
    ,,)
  2. void get(const(char)[] path, OutputStream stream, FtpProgress progress, FtpFormat format)

Parameters

path const(char)[]

the path to the remote file

local_file const(char)[]

the path to the local file

progress FtpProgress

a delegate to call with progress information

format FtpFormat

what format to read the data in

Meta