Module ftpfilez_ftps
Place a data file on a FTP server, list home directory, or fetch a file.
Place a data file on a FTP server, list home directory, or fetch a file.
config() = #{host := string() | binary(), port => pos_integer(), username => string() | binary(), password => string() | binary()}
delete(Config, Filename) -> Result
- Config = config()
- Filename = binary() | string()
- Result = ok | {error, term()}
download(Config, Filename) -> Result
- Config = config()
- Filename = binary() | string()
- Result = {ok, binary()} | {error, term()}
list(Config) -> Result
- Config = config()
- Result = {ok, [binary()]} | {error, term()}
mkdir(Config, Directory) -> Result
- Config = config()
- Directory = binary() | string()
- Result = ok | {error, term()}
stream(Config, Filename, StreamFun) -> Result
upload(Config, Filename, Data) -> Result
Generated by EDoc