ls command give files and directory listing error even directory have more than 10 files

Advertisement

nishit.2571988@gmail.com
Joined:
Posts:
6
Location:
Ahmedabad

ls command give files and directory listing error even directory have more than 10 files

When change current directory then it will change to /'BBB.' but when I enter ls command to listing files and directory then it will give error like below even /'BBB.' directory have more than 10 files
CWD cmd failed : EDC5129I No such file or directory.
code is below.
winscp.StandardInput.WriteLine("lcd c:\\Users\Test\Documents");
winscp.StandardInput.WriteLine("cd /'AAA.' "); //working directory
winscp.StandardInput.WriteLine("ls");
winscp.StandardInput.WriteLine("cd /'BBB.' "); //change dir successfully
winscp.StandardInput.WriteLine("ls"); // give error for listing files and dir

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum