Hi, In "smbclient", local filename completion works, but remote filename completion doesn't. I've fixed it. smbclient //foo/bar smb: \>get f<TAB> foo.c file.txt ... <<-- LOCAL files are listed. Regards, Katsuhiko Takahashi ------------------------------------- diff -urN source/client.orig/client.c source/client/client.c --- source/client.orig/client.c 2006-06-23 22:16:53.000000000 +0900 +++ source/client/client.c 2006-07-10 00:59:21.000000000 +0900 @@ -3064,7 +3064,7 @@ return NULL; for (i = 0; commands[i].name; i++) - if ((strncmp(commands[i].name, text, sp - buf) == 0) && (commands[i].name[sp - buf] == 0)) + if ((strncmp(commands[i].name, buf, sp - buf) == 0) && (commands[i].name[sp - buf] == 0)) break; if (commands[i].name == NULL) return NULL;
Created attachment 2026 [details] Fix remote filename completion