diff --git a/calexium_lib/net_services_protocols/ftp_client.anubis b/calexium_lib/net_services_protocols/ftp_client.anubis index dc3dc6d..7fec923 100644 --- a/calexium_lib/net_services_protocols/ftp_client.anubis +++ b/calexium_lib/net_services_protocols/ftp_client.anubis @@ -15,6 +15,7 @@ read system/message_transceiver.anubis read system/muscle.anubis read system/files.anubis read tools/basis.anubis +read network/dns.anubis define Maybe(One) receive_data @@ -134,8 +135,8 @@ public define Maybe(One) Word32 ip_port, String remote_file, String local_file - )= - if dns(server) is ok(ip_adr) then + ) = + if resolve_address(server) is success(ip_adr) then if connect( ip_adr, ip_port) is { error(_) then println("can't connect to ftp server"); failure, -- libgit2 0.21.4