SYNOPSISVoid allowFileUploads( )
This function must be called from a webapp or CGI program's webconfig function to have any effect. It enables handling of user-uploaded files. If it is not called, HTTP POSTs with a content type of "multipart/form-data" (the type required for file uploads) will be treated as an unrecognised POST content type, and the POST data will be ignored.
This is a security feature to avoid all webapps needing to use WebCommon.setKayaUploadDir(3kaya) even if they never need to handle files. If you do need file upload support and so use this function, you must also set a temporary upload directory.
AUTHORSKaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
LICENSEThe Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.