Is there something similar to C# connection string for FTP connection? Something I can write as a full string and manage easily like:
ftp://username:password@domain:port
I explain more what I'm trying to do. I'm writing a small console application that should, let's keep this example simple, download all file from a FTP. I would like to use a command line query similar to the one we use for nuget package for example. A good example is this one:
Update-database -connectionString "Data Source=(localdb)\MSSQLLocalDB;Initial Catalog=Local;Integrated Security=True;Connect Timeout=15;Encrypt=False;TrustServerCertificate=True" -ConnectionProviderName "System.Data.SqlClient" -verbose
So for my FTP it sill be something similar to
Download-Ftp -ftp "ftp://usr202:P@ssw0rd@example.com:21"
But also with more details like
Download-Ftp -ftp "ftp://usr202:P@ssw0rd@example.com:21;Sftp=false;AnyOtherFtpParameter=value"
Of course I can do it myself. My question here and now is. Is there already something, some standard, a better way to manage this or no nothing?