My question is that can I do the file handing in jQuery like in C#. Suppose I want to get all directories from the particulate path we can write the code like given below.
string foldersPath = @"C:\Filesystem\Staging\Incoming";
if (Directory.Exists(foldersPath))
{
string[] folders = Directory.GetDirectories(foldersPath, "*", System.IO.SearchOption.AllDirectories);
}
Now I want to write down this code in jQuery.
Is it possible? If yes please provide me some demo code.