2017 © Pedro Peláez
 

library vps-uploader

File uploader.

image

pulsarvp/vps-uploader

File uploader.

  • Thursday, May 18, 2017
  • by witzawitz
  • Repository
  • 4 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

About

This is file uploader developed specially for CIET MIPT projects. You can use it at your own risk!, (*1)

Table structure

vu_file

  • guid - Unique identificator for the file. Also works as filename. Generates randomly.
  • path - Path to the file relative to the base datapath directory.
  • extension
  • name - Original filename.
  • status - File status: new, uploading, error, deleted, ok.
  • message - Message regarding status. Useful for errors.
  • dt - Last file edit dt.
  • userID - If you want to relate some user table for this file, use this field.

vu_log

  • fileGuid - Relation to file guid.
  • status - Last status changed.
  • message
  • dt - Datetime when status was changed.
  • userID - User by which status was changed.

Config

chunksize - File chunk size in bytes to upload large files. Default is 1048576 (1M). extensions - Allowed extensions to load. If null then any extension is allowed. maxsize - Maximum file size to upload. Default is _null_ (unlimited). Format is like 128M. path - Base path to store files. Must be writable. url - Relative URL to build link for file. The full URL look like http(s):///., (*2)

Requirements

You should include Flow.js library and CSS and JS file from Jasny Bootstrap., (*3)

The Versions

18/05 2017

dev-master

9999999-dev http://liot.mipt.ru

File uploader.

  Sources   Download

MIT

The Requires

 

by Anna Manaenkova

22/06 2016
22/06 2016

dev-develop

dev-develop http://liot.mipt.ru

File uploader.

  Sources   Download

MIT

The Requires

 

by Anna Manaenkova

14/06 2016