Im trying to make a program that lets you check the availibility of a specific file extention on that ftp server and then sort the ones out that have the files on.
this is how i tried to do it so far:
string path;
path = "ftp://" + textBox1.Text + "/";
string[] files = System.IO.Directory.GetFiles(path, "*.txt", SearchOption.AllDirectories);
System.IO.Directory
et al classes are for SMB only (IIRC), not for FTP.