dm_ftp_server_set Subroutine

public subroutine dm_ftp_server_set(server, host, port, username, password, accept_timeout, connect_timeout, timeout, active, create_missing, tls, verify_tls)

Sets attributes of given server type.

Arguments

Type IntentOptional Attributes Name
type(ftp_server_type), intent(inout) :: server

FTP server type.

character(len=*), intent(in), optional :: host

Host.

integer, intent(in), optional :: port

Port (or 0 for default).

character(len=*), intent(in), optional :: username

User name.

character(len=*), intent(in), optional :: password

Password.

integer, intent(in), optional :: accept_timeout

Accept timeout [sec].

integer, intent(in), optional :: connect_timeout

Connection timeout [sec].

integer, intent(in), optional :: timeout

Response timeout [sec].

logical, intent(in), optional :: active

Enable active mode.

logical, intent(in), optional :: create_missing

Create missing directories.

logical, intent(in), optional :: tls

Enable Transport-Layer Security.

logical, intent(in), optional :: verify_tls

Verify SSL cert.