Packages

A Gleam FTP/FTPS client library with full RFC support for both passive and active mode

Current section

Files

Jump to
gftp include gftp@actor_CustomDataCommand.hrl
Raw

include/gftp@actor_CustomDataCommand.hrl

-record(custom_data_command, {
command_str :: binary(),
expected_statuses :: list(gftp@status:status()),
on_data_stream :: fun((gftp@stream:data_stream(), gftp@response:response()) -> {ok,
nil} |
{error, gftp@result:ftp_error()}),
reply :: gleam@erlang@process:subject({ok, nil} |
{error, gftp@result:ftp_error()})
}).