KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a method which will input either a http , ftp or a local path. With the input url, i need to decide whether it is a file or directory. Path.GetExtension(url) works almost fine. But if a directory begins with/have '.' in its name, then this checking will fail. Is there any other methods to check and list url if directory ?
Tags (comma-separated)
Save Edits
Cancel