File Tag: Save the file and file tag

Source: Internet
Author: User

File Tag: Save the file and file tag

Usage:

<File value = content or bag = bagid key = keyname [size = size] [enc = character set] [islast]> file Name of the relative path </file>

· Value: the content to be saved. It is automatically divided into bag and key during file upload.

· Bag and key: bag and key name, used for File Upload (when the value is null)

· Size: Content size, one-piece KB (optional)

· Enc: the character set to be saved (optional, not required when uploading files)

· Islast: identifies whether the last saved file is uploaded. If yes, it deletes the temporary file of the system (optional)

· File name: complete file name with relative path

Simple Example:

Save content to a file

<Chtml> <file value = "content to be saved" size = 100> _ samples/test.txt </file> </chtml>

Save the content to the _ samples/test.txt file. The length cannot exceed 100 kb.

(Example file: _ samples/file.html)

Test it in person and try it out.

Download and description of light platform Resources

Platform free download: http://download.csdn.net/detail/tx18/8381859

Latest Development Manual download: http://download.csdn.net/detail/tx18/8411089

Development Instance:Light B2C e-commerce websites, Free download: http://download.csdn.net/detail/tx18/8318585

The light-Open Platform will occasionally upgrade to provide more powerful and Easy functions for you. Please pay attention to the latestDevelopment Manual

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.