Home > Products >What's HTTP Upload?  
 


Eg) Sends mails by selecting attachments along with user inputted data such as recipients, mail header, mail contents from web pages when writing mails using web-mail service (Hotmail, etc). At this time, upload component for server should be installed on web-server to receive attachments besides user inputted data. Also, it eliminated file selection windows when several attachments are selected and upload component for client should be installed to show the progress rates to user in real time when large attachments are added.

File transmission method from HTTP base is explained from RFC 1867. According to this document, FORM Tag must include attribute called ENCTYPE="multipart/form-data" to send files to server. ENCTYPE="multipart/form-data" means that form data will be transmitted by specially formatting into multi-parts. This format can not read as ASP Request.Form object. Therefore, it requires a function to replace Request.Form object and processing inputted data and file data at the same time, and upload component is the component that satisfies these needs. However, it is not easy to directly implement stable and efficient file upload function in a very short time when processing web-based projects.

 

We think about FTP Programs first when transmitting (upload/download) files through internet. However, it is not ideal from various aspects to use FTP Programs or FTP Protocol to transmit files to web-server in WWW environments. Generally, this is because users tend to transmit files along with user inputted data from web sites and these should be processed together and transmitted data should be easily manipulated from server scripts such as ASP, etc. Furthermore, there could be burden on managing and additionally opening FTP Exclusive Port (21) besides HTTP Exclusive Port (80) from the aspects of Web-Server security.

The followings are a few advantages of HTTP Upload using Upload Component compared to FTP .


FTP requires separate managements such as managing multiple user accounts or allowing anonymous accesses and there are many cases of not opening transmission port for security reasons, however, since HTTP based Upload Products are executed through Web (HTTP) there is no separate accounts managements and it works well with firewall, proxy server and it is possible to implement coded file upload and download functions by using SSL.


HTTP based Upload Products can dynamically execute various controls such as limiting the size of files for uploading, setting upload Timeout, limiting the types of files for uploading, changing upload locations from Server scripts such as ASP thus it displays remarkable flexibility on upload control unlike FTP.


FTP can upload and download files only but, HTTP based Upload Product can upload and download files as well as directly upload and download files to Database as BLOB Field.

 
 
Move to devpia     Address: 5F, Mirae Building, 87-2, Nonhyun-dong, Gangnam-gu, Seoul, Korea Tel: +82-2-6719-6200  Business Registration Number: 220-81-90008
  Copyright ⓒ 2007 DEVPIA, Inc. All rights reserved.