Topic: .net + ListDirectoryDetails
Hello. There is a code: var webRequest = (FtpWebRequest) WebRequest. Create (uri); webRequest. Method = WebRequestMethods.Ftp.ListDirectoryDetails; Let uri there will be ftp://127.0.0.1/sta1, a result - inf-ija about a folder sta1, rather than about contents. Let uri there will be ftp://127.0.0.1/sta1/, a result - inf-ija about files in a folder sta1, i.e. that that is necessary. Why so? I.e. for ftp "ftp://127.0.0.1/sta1" is a file, and "ftp://127.0.0.1/sta1/" is already a folder? At once I will make a reservation that it was tested here with this operetta ftp the server that does not potter with "monsters".