Sender:
Hax (Prince Frog), News District: WebDevelop
Title: About FORM-based multi-file upload
Sending station: Drinking water, December 30, 2002 13:40:54 Monday), station letter
A typical Form-based file upload page is as follows:
form>
body>
html>
The resulting page includes an input box and a browsing button, and then pop up one after the browsing button.
The system dialog allows you to choose a local file.
However, in the IE browser, there is a big limit that only one file can be selected at a time.
This is also true of Mozilla.
In fact, according to the W3C's HTML specification, it is to allow a form that contains multiple submission files, however
Due to the restriction of the browser, most webapp can only rely on the script to generate multiple file field.
To achieve multi-file upload.
E.g:
...
According to I have seen, only Opera can submit multiple files in a file field, but do not support
Submit a whole directory.
No, we must use some alternatives:
FTP
The FTP problem is that we must let users use a different environment that is different from the browser webpage. Of course now
There are many FTP Client to have very similar to the resource manager. Another big problem is to pass on the website
Some means verify that the user's identity is not passed to FTP. FTP's user verification is independent.
And the security of FTP is similar to the general Form or HTTP-based Basic authentication.
But unable to reach the level of HTTP's Digest verification and even SSL.
2. WebDAV
WebDAV is an extended HTTP protocol, so there is a lot of advantages over FTP. But there is also a problem is WebDAV.
The combination of clients and browsers is not very ideal, although IE can be "open web folder"
Way open the WebDAV directory.
3. Upload components of ActiveX or Applets.
There is only this solution to this solution, but it is necessary to purchase or develop.
I hope that experienced comrades will discuss this issue.
For example, there is no ripe web-based webDAV upload solution, or open source or free support multi-file
Upload components of the directory.
-
Water intangible winds have no cases of reasoning depends on the heart ...
※ Modification: · HAX on December 30th 13:43:29 revised this article · [From: 202.120.15.34]