Lines Matching refs:upload_dir
62 const char *upload_dir; member
140 initial = strlen(vhd->upload_dir) + 1; in scan_upload_dir()
141 lws_strncpy(subdir[sp], vhd->upload_dir, sizeof(subdir[sp])); in scan_upload_dir()
142 dir[sp] = opendir(vhd->upload_dir); in scan_upload_dir()
145 vhd->upload_dir); in scan_upload_dir()
275 "%s/%s", pss->vhd->upload_dir, pss->user); in file_upload_cb()
283 "%s/%s/%s~", pss->vhd->upload_dir, in file_upload_cb()
287 "%s/%s~", pss->vhd->upload_dir, filename2); in file_upload_cb()
403 if (lws_pvo_get_str(in, "upload-dir", &vhd->upload_dir)) { in callback_deaddrop()
411 lws_get_vhost_name(vhd->vh), vhd->upload_dir, in callback_deaddrop()
481 lws_snprintf((char *)buf, sizeof(buf), "%s/%s", vhd->upload_dir, in callback_deaddrop()