企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[![Uploadify - JQuery File Upload Plugin Script](https://box.kancloud.cn/2015-11-02_5636cc82d8b6c.png)](http://www.uploadify.com) # folder Input Type:**string** Input Format:**'/path/to/save/folder/'** Default:**empty (same folder as uploadify js script)** Required:**required - unless specified in back-end scripts** The **folder** options allows you to set the folder on the server that the files will be saved to. This is an insecure method of defining the save folder, so it is *highly recommended* that you set the folder in the back-end scripts. This option is required unless the folder is defined int he back-end scripts (uploadify.php and check.php). Make sure the folder exists before uploading or the script will return an error on upload. ### Demo Javascript Code 1. $('#file_upload').uploadify({ 1.   'uploader'    : '/uploadify/uploadify.swf', 1.   'script'      : '/uploadify/uploadify.php', 1.   'cancelImg'   : '/uploadify/cancel.png', 1.   'folder'      : '/uploads' 1. }); HTML Code 1. <inputtype="file"id="file_upload"name="file_upload"/> 1. <ahref="javascript:$('#file_upload').uploadifyUpload();">Upload Files</a> [Upload Files](#) [![Download the Latest Version](https://box.kancloud.cn/2015-11-02_5636cc82ea7d9.png)](#) Help keep Uploadify free and support the development of other excellent apps! ![](https://www.paypal.com/en_US/i/scr/pixel.gif) [home](#)  |  [about](#)  |  [download](#)  |  [demos](#)  |  [documentation](#)  |  [faqs](#)  |  [forums](#) ©2011 by [Reactive Apps](http://www.reactiveapps.com)