1120 static int recursive_get(char * path)
1121 {
1122 char * dirc = strdup(path);
1123 char * base = basename(path);
1124 char * dir = dirname(dirc);
This gives "/" in both base and dir (man 3 basename) which causes paths like "///Foo" to be passed to the server, which fails.