Lines Matching refs:file
3 * This module provides a UI for file selection and multiple file upload capability using
6 * tracking, file filtering, server response retrieval and error reporting.
20 * This module provides a UI for file selection and multiple file upload capability
137 * Signals that an upload of a specific file has started.
143 * <dt>file</dt>
152 * Reports on upload progress of a specific file.
159 * <dd>The number of bytes of the file that has been uploaded</dd>
161 * <dd>The total number of bytes in the file</dd>
163 * <dd>The fraction of the file that has been uploaded, out of 100</dd>
171 * Reports on the total upload progress of the file list.
178 * <dd>The number of bytes of the file list that has been uploaded</dd>
180 * <dd>The total number of bytes in the file list</dd>
182 * <dd>The fraction of the file list that has been uploaded, out of 100</dd>
188 * Signals that a single file upload has been completed.
194 * <dt>file</dt>
205 * Signals that the upload process of the entire file list has been completed.
213 * Signals that a error has occurred in a specific file's upload process.
221 * <dt>file</dt>
499 * Adjusts the content of the `fileList` based on the results of file selection
505 * @param ev {Event} The file selection event received from the uploader.
557 case "file:uploadstart":
560 case "file:uploadprogress":
566 case "file:uploadcomplete":
582 * Starts the upload of a specific file.
585 * @param file {Y.FileFlash} Reference to the instance of the file to be uploaded.
586 * @param url {String} The URL to upload the file to.
587 * @param postVars {Object} (optional) A set of key-value pairs to send as variables along with the file upload HTTP request.
591 upload : function (file, url, postvars) {
595 fileId = file.get("id");
599 if (file instanceof Y.FileFlash) {
601 file.on("uploadstart", this._uploadStartHandler, this);
602 file.on("uploadprogress", this._uploadProgressHandler, this);
603 file.on("uploadcomplete", this._uploadCompleteHandler, this);
604 file.on("uploaderror", this._uploadErrorHandler, this);
606 file.startUpload(uploadURL, postVars, this.get("fileFieldName"));
611 * Starts the upload of all files on the file list, using an automated queue.
615 * @param postVars {Object} (optional) A set of key-value pairs to send as variables along with the file upload HTTP request.
628 * @param postVars {Object} (optional) A set of key-value pairs to send as variables along with the file upload HTTP request.
715 * to the existing file list, or whether they should replace it.
769 * The action performed when an upload error occurs for a specific file being uploaded.
773 * <li> <strong>`UploaderQueue.STOP`</strong>: the upload process is stopped as soon as any other parallel file
775 * <li> <strong>`UploaderQueue.RESTART_ASAP`</strong>: the file is added back to the front of the queue.</li>
776 * <li> <strong>`UploaderQueue.RESTART_AFTER`</strong>: the file is added to the back of the queue.</li>
790 * An array indicating what fileFilters should be applied to the file
806 * A String specifying what should be the POST field name for the file
831 * A Boolean indicating whether multiple file selection is enabled.
844 * file. This attribute is only used if no POST variables are specifed
868 * The widget that serves as the "Select Files" control for the file uploader
899 * The URL to the SWF file of the flash uploader. A copy local to
941 * The URL to which file upload requested are POSTed. Only used if a different url is not passed to the upload method call.