$ftp = Net::FTP -> new ( $addr, Passive => 0, Timeout => $timeout )
or die "Failed to connect to FTP (w/ active, timeout): $addr";
what would be the C# equivalent to implement a new ftp client like the above, also what about login and controlling the transfer modes like :
$ftp -> login ( $usr, $pwd )
or die "Failed to login to FTP: " . $ftp->message;
{ $ftp -> ascii(); }
{ $ftp -> binary(); }