FTPConnection.put

Store data from a stream on the server.

Calling this function will change the current data transfer format.

  1. void put(const(char)[] path, const(char)[] local_file, FtpProgress progress, FtpFormat format)
  2. void put(const(char)[] path, InputStream stream, FtpProgress progress, FtpFormat format)
    class FTPConnection
    void
    put
    (
    const(char)[] path
    ,
    InputStream stream = null
    ,,)

Parameters

path const(char)[]

the path to the remote file

stream InputStream

data to store, or null for a blank file

progress FtpProgress

a delegate to call with progress information

format FtpFormat

what format to send the data in

Meta