ASP (Active Server Page) is Microsoft's products, because it is easy to play, can quickly develop functional dynamic websites, now many websites (especially intranet / extranet internal network) use NT IIS ASP mode, making ASPs become current Amazing website development scripting language. In a web service, the file upload service is a very common feature, while the PWS under Win9X does not provide related components; IIS under NT provides a Post Acceptor component, but because it is to check the user's WWW access rights. Too easy to use; you can download the relevant components from the Internet, but most of them are commercial components, which are used to download the trial version, which is limited in the use time or function. Since ASP can call standard OLE / COM components, we can use high-level programming tools such as VB / VC / DELPHI to customize their own ASP file upload components based on our own requirements to meet their application system requirements.
The principle and concrete implementation process of using Delphi to develop files with Delphi will be discussed.
First, the principle of implementation of file upload
Upload based on web mode, to follow the RFC1867 standard, the uploaded file data is no exception. To select upload files with the following HTML page file (Delphiup.htm):
Upload the file upload components in Delphi to implement file upload