1WebCommon.allowFileUploads(3kaKyaay)a module referWeenbcCeommon.allowFileUploads(3kaya)
2
3
4
6 WebCommon::allowFileUploads - Allow file uploads
7
9 Void allowFileUploads( )
10
12 This function must be called from a webapp or CGI program's webconfig
13 function to have any effect. It enables handling of user-uploaded
14 files. If it is not called, HTTP POSTs with a content type of "multi‐
15 part/form-data" (the type required for file uploads) will be treated as
16 an unrecognised POST content type, and the POST data will be ignored.
17
18 This is a security feature to avoid all webapps needing to use WebCom‐
19 mon.setKayaUploadDir (3kaya) even if they never need to handle files.
20 If you do need file upload support and so use this function, you must
21 also set a temporary upload directory.
22
24 Kaya standard library by Edwin Brady, Chris Morris and others
25 (kaya@kayalang.org). For further information see http://kayalang.org/
26
28 The Kaya standard library is free software; you can redistribute it
29 and/or modify it under the terms of the GNU Lesser General Public
30 License (version 2.1 or any later version) as published by the Free
31 Software Foundation.
32
34 WebCommon.setKayaUploadDir (3kaya)
35
36
37
38Kaya December 2010WebCommon.allowFileUploads(3kaya)