Lines Matching +full:upload +full:- +full:dir
2 * lws-minimal-http-server-deaddrop
4 * Written in 2010-2020 by Andy Green <andy@warmcat.com>
10 * secure, modern html5 file upload and sharing application.
43 &em2, NULL, ".tar.gz", "application/x-gzip"
46 /* wire up /upload URLs to the plugin (protected by basic auth) */
50 /* .mountpoint */ "/upload", /* mountpoint URL */
51 /* .origin */ "lws-deaddrop",
65 /* .basic_auth_login_file */ "./ba-passwords",
68 /* wire up /get URLs to the upload directory (protected by basic auth) */
71 /* .mount_next */ &mount_upload, /* linked-list "next" */
87 /* .basic_auth_login_file */ "./ba-passwords",
90 /* wire up / to serve from ./mount-origin (protected by basic auth) */
93 /* .mount_next */ &mount_get, /* linked-list "next" */
95 /* .origin */ "./mount-origin", /* serve from dir */
107 /* .origin_protocol */ LWSMPRO_FILE, /* files in a dir */
109 /* .basic_auth_login_file */ "./ba-passwords",
116 NULL, NULL, "basic-auth", "./ba-passwords"
118 &pvo3, NULL, "max-size", "10000000"
120 &pvo2, NULL, "upload-dir", "./uploads" /* would be an absolute path */
122 NULL, /* "next" pvo linked-list */
123 &pvo1, /* "child" pvo linked-list */
124 "lws-deaddrop", /* protocol name we belong to on this vhost */
142 if ((p = lws_cmdline_option(argc, argv, "-d"))) in main()
157 info.ssl_cert_filepath = "localhost-100y.cert"; in main()
158 info.ssl_private_key_filepath = "localhost-100y.key"; in main()