ftpclient-cpp icon indicating copy to clipboard operation
ftpclient-cpp copied to clipboard

ftp.List doesn't get expected results by folder without suffix /

Open lemon19900815 opened this issue 1 year ago • 0 comments

std::string folder = "pictures";
std::string filelist;
ftp.List(folder, filelist); 

if i call the List interface like this, i can't get expected results, the auctual results filelist is one level above the directory. then i fix the folder suffix with /, the results is my expected!

lemon19900815 avatar Aug 25 '23 07:08 lemon19900815