Skip to content
Davit Barbakadze edited this page Jan 11, 2013 · 15 revisions

File(id, name)

Defined at: src/plupload.js:1485

Constructs a new file instance.

Arguments

  • id (String) Unique file id.
  • name (String) File name.

Properties

Properties

### id _Defined at: [src/plupload.js:1501](/moxiecode/plupload/blob/master/src/plupload.js#L1501)_

File id this is a globally unique id for the specific file.


### name _Defined at: [src/plupload.js:1509](/moxiecode/plupload/blob/master/src/plupload.js#L1509)_

File name for example "myfile.gif".


### size _Defined at: [src/plupload.js:1517](/moxiecode/plupload/blob/master/src/plupload.js#L1517)_

File size in bytes (may change after client-side manupilation).


### origSize _Defined at: [src/plupload.js:1525](/moxiecode/plupload/blob/master/src/plupload.js#L1525)_

Original file size in bytes.


### loaded _Defined at: [src/plupload.js:1533](/moxiecode/plupload/blob/master/src/plupload.js#L1533)_

Number of bytes uploaded of the files total size.


### percent _Defined at: [src/plupload.js:1541](/moxiecode/plupload/blob/master/src/plupload.js#L1541)_

Number of percentage uploaded of the file.


### status _Defined at: [src/plupload.js:1549](/moxiecode/plupload/blob/master/src/plupload.js#L1549)_

Status constant matching the plupload states QUEUED, UPLOADING, FAILED, DONE.


Clone this wiki locally