Giter VIP home page Giter VIP logo

fileupload's Introduction

This small project is a fork of the following gist code:

http://gist.github.com/11652

It supplies a class to perform file upload using the Cappuccino framework:

http://cappuccino.org/

It also includes a small sample application that, along with the appropriate
Cappuccino Frameworks directory, will demonstrate the use of the File Upload
button.

*Copyright/License*

Any changes made to FileUpload.j after the initial commit in this repository
are released to the public domain.  For information about copyright/licensing
for the bulk of the code in FileUpload.j you must refer to the original gist
link noted at the head of this file and to the original copyright statement in
FileUpload.j.

*Running the Sample Application*

You must get a copy of the Cappuccino "Frameworks" directory and place it in
the top level directory of your copy of this project.  Different branches of
this project support different versions of Cappuccino (see the wiki
http://wiki.github.com/MCF/FileUpload/).  For information about downloading and/or
installing different versions of Cappuccino see:

http://cappuccino.org/download/
http://cappuccino.org/nightly/
http://wiki.github.com/280north/cappuccino/

Some kind of web-server must be used to both serve the sample application and
receive the POST event once a file is selected.  The domain name for both the
files served and the POST must be identical or the code will not work correctly
(iframe cross-domain issues are encountered and the response from the POST
cannot be read by the FileUpload code).

The current sample application will post back to the /file_upload directory on
the same server used to serve the application.  Change the setURL: call in
AppController.j if you need to post to a different directory.

*Additional Information*

See the github page and the wiki for additional documentation:

http://github.com/MCF/FileUpload
http://wiki.github.com/MCF/FileUpload/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.