File Upload and download!

Source: Internet
Author: User

1. Upload:

1. Types of uploaded data: characters , bytes

1. Text type (character): via URL? ; through form elements; AJAX.

2. File type (bytes): Through form element (file).

2. How to upload files:

1.form form implementation File upload: Common way (upload files with post, not get, because get method for upload amount Limited)

You can upload a file that is selected in the Files tab by clicking the mouse.

2. File upload via Ajax: Disable mode

Ajax data passing is valued by JavaScript scripts. If you pass a file, you also need to get the file content through a JavaScript script

Browser disable JavaScript script file read and write function

3. Upload via browser plugin file: Download and install the appropriate plugin.

Flash,ocx and other plugins

2. Download: Through hyperlinks or Web page output.

1. Hyperlinks or Web page output if the page, image, text, the direct display;

2. Other Downloads

File Upload and download!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.