Skip to content
Snippets Groups Projects
Commit e2e18258 authored by rswindell's avatar rswindell
Browse files

Support "LIST -opts" in local file system mode.

parent f66e83f2
No related branches found
No related tags found
No related merge requests found
......@@ -3016,6 +3016,12 @@ static void ctrl_thread(void* arg)
p=cmd+4;
while(*p && *p<=' ') p++;
if(*p=='-') { /* -Letc */
while(*p && *p>' ') p++;
while(*p && *p<=' ') p++;
}
SAFEPRINTF2(path,"%s%s",local_dir, *p ? p : "*");
lprintf(LOG_INFO,"%04d %s listing: %s", sock, user.alias, path);
sockprintf(sock, "150 Directory of %s%s", local_dir, p);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment