dm_ftp_url Function

public function dm_ftp_url(host, port, path, tls) result(url)

Uses

  • proc~~dm_ftp_url~~UsesGraph proc~dm_ftp_url dm_ftp_url module~dm_string dm_string proc~dm_ftp_url->module~dm_string module~dm_error dm_error module~dm_string->module~dm_error module~dm_kind dm_kind module~dm_string->module~dm_kind module~dm_error->module~dm_kind module~dm_ascii dm_ascii module~dm_error->module~dm_ascii iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env

Returns allocatable string of FTP server URL in the form ftp[s]://host[:port]/path. An absolute path has to start with //. Uses the URL API of libcurl to create the URL. By default, Transport-Layer Security (FTPS) is disabled.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: host

FTP host.

integer, intent(in), optional :: port

FTP port (up to 5 digits).

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

FTP file path.

logical, intent(in), optional :: tls

Enable Transport-Layer Security.

Return Value character(len=:), allocatable

URL of FTP server.


Calls

proc~~dm_ftp_url~~CallsGraph proc~dm_ftp_url dm_ftp_url curl_url curl_url proc~dm_ftp_url->curl_url curl_url_cleanup curl_url_cleanup proc~dm_ftp_url->curl_url_cleanup curl_url_get curl_url_get proc~dm_ftp_url->curl_url_get curl_url_set curl_url_set proc~dm_ftp_url->curl_url_set interface~dm_itoa dm_itoa proc~dm_ftp_url->interface~dm_itoa interface~dm_present dm_present proc~dm_ftp_url->interface~dm_present proc~dm_string_is_present dm_string_is_present proc~dm_ftp_url->proc~dm_string_is_present

Called by

proc~~dm_ftp_url~~CalledByGraph proc~dm_ftp_url dm_ftp_url proc~dm_ftp_download dm_ftp_download proc~dm_ftp_download->proc~dm_ftp_url proc~dm_ftp_upload dm_ftp_upload proc~dm_ftp_upload->proc~dm_ftp_url