- allocate
void allocate(long bytes)
Allocate space for a file.
- append
void append(const(char)[] path, InputStream stream, FtpProgress progress, FtpFormat format)
Append data to a file on the server.
- cd
void cd(const(char)[] dir)
Undocumented in source.
- cdup
void cdup()
Undocumented in source. Be warned that the author may not have intended to support it.
- chmod
void chmod(const(char)[] path, int mode)
Undocumented in source.
- close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
- connect
void connect(FtpAddress fad)
- connect
void connect(const(char)[] hostname, const(char)[] username, const(char)[] password, uint port)
- connectPassive
Socket connectPassive()
Send a PASV and initiate a connection.
- connectPassive
Socket connectPassive()
Undocumented in source. Be warned that the author may not have intended to support it.
- cwd
const(char)[] cwd()
Undocumented in source. Be warned that the author may not have intended to support it.
- del
void del(const(char)[] path)
Undocumented in source.
- enableUTF8
void enableUTF8()
Enable UTF8 on servers that don't use this as default. Might need some work
- exception
void exception(string message)
- exception
void exception(FtpResponse fr)
- exist
int exist(const(char)[] file)
- finishDataCommand
void finishDataCommand(Socket data)
- get
void get(const(char)[] path, const(char)[] local_file, FtpProgress progress, FtpFormat format)
Retrieve a remote file's contents into a local file.
- get
void get(const(char)[] path, OutputStream stream, FtpProgress progress, FtpFormat format)
Retrieve a remote file's contents into a local file.
- getDataSocket
Socket getDataSocket()
Get a data socket from the server.
- getFeatures
void getFeatures()
Undocumented in source. Be warned that the author may not have intended to support it.
- getFileInfo
FtpFileInfo getFileInfo(const(char)[] path)
Undocumented in source.
- input
InputStream input(const(char)[] path)
- isSupported
bool isSupported(const(char)[] command)
Undocumented in source.
- is_supported
bool is_supported(const(char)[] command)
Undocumented in source. Be warned that the author may not have intended to support it.
- ls
FtpFileInfo[] ls(const(char)[] path)
Undocumented in source.
- mkdir
const(char)[] mkdir(const(char)[] path)
Undocumented in source.
- modified
Time modified(const(char)[] file)
- noop
void noop()
Undocumented in source. Be warned that the author may not have intended to support it.
- output
OutputStream output(const(char)[] path)
- parse257
const(char)[] parse257(FtpResponse response)
Undocumented in source. Be warned that the author may not have intended to support it.
- parseListLine
FtpFileInfo parseListLine(const(char)[] line)
Undocumented in source. Be warned that the author may not have intended to support it.
- parseMlstLine
FtpFileInfo parseMlstLine(const(char)[] line)
Undocumented in source. Be warned that the author may not have intended to support it.
- parseTimeval
Time parseTimeval(const(char)[] timeval)
Undocumented in source. Be warned that the author may not have intended to support it.
- prepareDataSocket
void prepareDataSocket(Socket data)
Prepare a data socket for use.
- processDataCommand
Socket processDataCommand(const(char)[] command, const(char)[][] parameters)
- put
void put(const(char)[] path, const(char)[] local_file, FtpProgress progress, FtpFormat format)
Undocumented in source.
- put
void put(const(char)[] path, InputStream stream, FtpProgress progress, FtpFormat format)
Store data from a stream on the server.
- readResponse
FtpResponse readResponse(const(char)[] expected_code)
Undocumented in source. Be warned that the author may not have intended to support it.
- readResponse
FtpResponse readResponse()
Undocumented in source. Be warned that the author may not have intended to support it.
- readStream
void readStream(Socket data, OutputStream stream, FtpProgress progress)
- rename
void rename(const(char)[] old_path, const(char)[] new_path)
Undocumented in source.
- restartSeek
void restartSeek(size_t offset)
Seek to a byte offset for the next transfer.
- rm
void rm(const(char)[] path)
Undocumented in source.
- sendCommand
void sendCommand(const(char)[] command, const(char)[][] parameters)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendListCommand
FtpFileInfo[] sendListCommand(const(char)[] path)
Undocumented in source. Be warned that the author may not have intended to support it.
- sendStream
void sendStream(Socket data, InputStream stream, FtpProgress progress)
- setActive
void setActive(const(char)[] ip, ushort port, const(char)[] listen_ip, ushort listen_port)
Undocumented in source.
- setPassive
void setPassive()
Undocumented in source. Be warned that the author may not have intended to support it.
- shutdownTime
TimeSpan shutdownTime()
- size
size_t size(const(char)[] path, FtpFormat format)
Undocumented in source.
- supportedFeatures
FtpFeature[] supportedFeatures()
- type
void type(FtpFormat format)
Undocumented in source. Be warned that the author may not have intended to support it.
Seriously changed Since: 0.99.8 Documentation pending