Lines Matching defs:mget_mask
859 char *mget_mask;
902 mget_mask = talloc_asprintf(NULL, "%s*", ctx->remote_cur_dir);
904 do_list(ctx, mget_mask, FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_DIRECTORY,do_mget,false, true);
959 char *mget_mask = NULL;
966 mget_mask = talloc_strdup(ctx,ctx->remote_cur_dir);
967 if(mget_mask[strlen(mget_mask)-1]!='\\')
968 mget_mask = talloc_append_string(ctx, mget_mask, "\\");
970 mget_mask = talloc_strdup(ctx, args[i]);
971 if (mget_mask[0] != '\\')
972 mget_mask = talloc_append_string(ctx, mget_mask, "\\");
973 do_list(ctx, mget_mask, attribute,do_mget,false,true);
975 talloc_free(mget_mask);
978 if (mget_mask == NULL) {
979 mget_mask = talloc_asprintf(ctx, "%s\\*", ctx->remote_cur_dir);
980 do_list(ctx, mget_mask, attribute,do_mget,false,true);
981 talloc_free(mget_mask);