List of articles   choose language


Attaching of several directories with files to form



Agreements

tagattributecharacteristicstyle
new html-keywordslinealingpointdefault
values of new html-keywordssideromb
old html-keywordstdidlist
values of old html-keywordscircle
communication xmlsoundsyncpower
values of communication xmlnouser
keyboard and mouser commandenter

Concept

It's possible to send not one file, not one directory, but several directories with subdirectories pressing on button below.


Second browser's window arise at pressing this button, file system is shown in it. If you imagine chosen directories as tree, then chosen tags ti (with their sub-tags ti) are transformed into xml-tags ti so:

After that all tags are sent to server in a textual kind. Browser adds tag UNKIND automatically, which exists only in communication channel: contents of all files are placed one after another without intervals instead of dots in it. Its attribute "len" specifies total length of all files.

<ti text=folder_name>
 <ti len=100 offset=0   text=file_name.exe>
 <ti len=200 offset=100 text=file_name.jpg>
</ti>
<unkind len=300>...</unkind>

Attributes len of tag ti specifies file length in bytes, attribute offset specifies offset of file inside tag UNKIND in bytes, counted from zero.

Encryption for correction a mistakes and calculation of a control sum are maked already by TCP/IP-protocol. Beginning and end of a file are calculated, using number of TCP/IP-package and file length - there is no need to make intervals between files and to insert random letters sequence into them.


It's clear, that textbox-widget loses any sense. I offer to remove it and to leave only button.

Sometimes it's necessary, that tree of file system was showed not in a separate window, but inside a document. I offer to add attribute look into tag <input type=file>. Attribute can accept two values: button (default value) and tree.

button (default value)

folder_name1
folder_name2
folder_name3
folder_name4
folder_name5
folder_name6
tree

Resume

Html-attributes
tag attribute default value list of possible value
input type=file look button button, tree



html60author



List of articles   choose language


Используются технологии uCoz