FTP.setAuthentication

Set the user name, password and optionally domain for authentication purposes.

Some protocols may need authentication in some cases. Use this function to provide credentials.

struct FTP
version(StdDdoc)
void
setAuthentication
(
const(char)[] username
,
const(char)[] password
,
const(char)[] domain = ""
)

Parameters

username const(char)[]

the username

password const(char)[]

the password

domain const(char)[]

used for NTLM authentication only and is set to the NTLM domain name

Meta