|
File uploading via the Internet is used in many
applications such as conference organization and virtual accounts directory. To submit text
data to web server is relatively easy. However, to submit binary data, such as pictures, PDF
file, Excel Charts or documents written in Microsoft Word, to web server seems is not as easy.
In this paper, we discuss the principles of designing COM ActiveX component
and Java Bean, which can be used in ASP and JSP respectively for binary file uploading.
We also discuss how to use C program and XML WSC method to do binary file uploading.
We compare the five methods of uploading binary files using varies file
sizes. There are no significant differences in transmission speed except
the XML WSC methods. We also compare our COM method with three Commercial
products. Our program ismore flexible in many aspects. For example, our
program can return a file pointer from COM to ASP, so that we can easily
set up database in ASP. Aslo our program is about 1/5 faster for
uploading images to DBMS.
|