Repository navigation
Home
dr.dimitru edited this page Apr 8, 2016
·
36 revisions
- Upload / Read files in Cordova app: Cordva support (Any with support of
FileReader) - Upload file(s) via DDP
- Ready for small and large files (Note Browser will eat 7%-10% RAM of the file size)
- Pause / Resume upload
- Auto-pause when connection to server is interrupted
- Multi-stream async upload (faster than ever)
- Serving files
- Make files
public, so your proxy server like nginx can serve them - Protect/Restrict access to files
- Files CRC check (integrity check)
- Make files
- Write to file system (FS)
- Automatically writes files on FS and special Collection
-
path, collection name, schema, chunk size and naming function is under your control - Support for file subversions, like thumbnails, audio/video file formats, revisions, and etc.
- Streaming via HTTP
- Correct
mime-typeandContent-Rangeheaders - Correct
206and416responses - Following RFC 2616
- Correct
- Download via HTTP
- You able to specify
route - Download is ready for small and large files, with support of progressive (
chunked) download
- You able to specify
- Store wherever you like
- You may use
Meteor-Filesas temporary storage - After file is uploaded and stored on FS you able to
mvorcpits content
- You may use
- Support of non-latin (non-Roman) file names
- Subscribe on files (collections) you need
-
Meteor.FilesConstructor [Isomorphic] - Initialize Files collection -
write()[Server] - WriteBufferto FS and Files collection -
load()[Server] - Write file to FS and Files collection from remote URL -
addFile()[Server] - Add local file to Files collection from FS -
findOne()[Isomorphic] - Find one file in Files collection -
find()[Isomorphic] - Create cursor for Files collection -
insert()[Client] - Upload file to server -
remove()[Isomorphic] - Remove files from Files collection and unlink from FS -
unlink()[Server] - Unlink file from FS -
link()[Isomorphic] - Generate downloadable link -
collection[Isomorphic] -Meteor.Collectioninstance -
Template helper
fileURL[Client] - Generate downloadable link in template
- File subversions - Create video file with preview and multiple formats
| Meteor-Files | Support | Try ostr.io |
|---|---|---|
![]() |
If you found this package useful, — star it at GitHub and support our open source contributions with a monthly pledge, or submit a one-time donation via PayPal |
|
