标题：Web File Distribution Protocol
What is WFDP?
Web File Distribution Protocol is independent Created by LOOPC Software Studio.
WFDP(Web File Distribution Protocol) is a file distribution protocol thatuploads or downloads large files through many different URLs ofwebsites. The core technology principle is that the publisher splitsthe specified large file into many sub-files, and then publishes allthe sub-files to any URLs address, in the meantime; the publisher needs generate the suffix “wfdp” file which contains basic description of thelarge file and the URL of each sub-file, offset of each sub-file, sizeof each sub-file and so on. You can
The functions of WFDP
Faster DistributionThetraditional upload and download for web file is working in one server,in this case, the server will consume huge system resources and thespeed obviously becomes very slow in this time if many people upload ordownload the same file together at the same time. However, If we areUsing WFDP, the sub-files can be distributed to different servers andmake them provide the uploading and downloading services at one time,so that reducing the pressure on each server, achieving load balancing,and greatly increased the speed of uploading and downloading。Free ShareThepurpose of Internet is that interconnect networks and shareinformation, actually the vast Internet own huge free space, but thelarge part of which is not used enough. As ordinary Internet users,generally they have not their own servers, and there is always avariety of restrictions on the free space, so if you want collection,sharing large files there is no good alternative program. However, theWFDP sub-files can be packaged into any existing files, such as images,sounds, video, etc. and the sub-file size is very small, so that ifusing the WFDP, it can take full advantage a lot of idle resources ofthe Internet and makes everyone freely access or share large files eachother at high speed.
WFDP Definition of Structure
1WFDP file usually uses “Wfdp” as the file name suffix, the content isbased on UTF-8 encoded XML strings used to record the file name, filesize, Hash value of file, last modification date, publisher and thesub-file offset, sub-file size, Hash value of sub-file, sub-file URL,and this “wfdp” file can be used as an ordinary text editor to view andedit.
summary：
NetFile
FileName //the original file name
FileSize // the original file size
HashCode //the MD5 of the original file
LastModifyTime //the last update date of the original file
Description? //the description information of the original file, can be null
Publisher? //the publisher of the original file，can be null
SubFiles
SubFile+
Offset //the offset value of the sub-file from the original file
Size //the size of the sub-file
HashCode //the MD5 of the sub-file
URL //the URL of the sub-file
syntax：
<!ELEMENT NetFile (FileName,FileSize,HashCode,LastModifyTime,Description?,Publisher?,SubFiles)> 
<!ELEMENT SubFiles (SubFile+)>
<!ELEMENT SubFile (Offset,Size,HashCode,URL)>
example：
<?xml version="1.0"?>
<NetFile>
<FileName> wfdp demo.rmvb</FileName>
<FileSize>1073741824</FileSize>
<HashCode>e96ace772f9649d78ab8322edeec4ac2</HashCode>
<LastModifyTime>2009-09-22T15:26:58.578125+08:00</LastModifyTime>
<Description>WFDP (Web File Distribution Protocol) is a file distribution protocolthat uploads or downloads large files through many different URLs ofwebsites...</Description>
<Publisher>LOOPC</Publisher>
<SubFiles>
<SubFile>
<Offset>0</Offset>
<Size>1048576</Size>
<HashCode>16ea9da7bfba4f0eb302b4b62b53dec9</HashCode>
<URL>URL 1</URL>
</SubFile>
<SubFile>
<Offset>1048576</Offset>
<Size>1048576</Size>
<HashCode>782e35905ea144118163baacbb1200b3</HashCode>
<URL>URL 2</URL>
</SubFile> 
………..
<SubFile>
<Offset>1072693248</Offset>
<Size>1048576</Size>
<HashCode>9346810ff88344a4bd7a4309d40524f5</HashCode>
<URL>URL N</URL>
</SubFile>
</SubFiles>
</NetFile>