use strict; use WWW::Curl::easy; my $url = "ftps://username\@ftps.server/path/"; # Init the curl session my $curl= WWW::Curl::easy->new() or die "curl init failed!\n";