ASPUPLOAD component helps

xiaoxiao2021-03-06  60

ASPUPLOAD Components Using help Using ASP implementation files Upload to Web Server AspUpload 2.0, the relevant source file is as follows (UPLoadTest.htm):

The client file should be aware of two points: * File upload submission form (FORM) ENCTYPE must be specified as "Multipart / Form-Data" statement to represent upload file domain, and the user can enter or select a file in this domain. The server end source file is as follows: <% response.buffer = true%> <% set upload = server.createObject ("persits.upload.1") 'creation file upload components count = upload.save ("e : / aspupload ") 'Save the client file to the local hard disk of the web server side>

Uploaded <% = count%> File Has Been Uploaded. The script set upload = server.createObject ("Persits.upload.1") creates a file upload component, which calls the Save method file file The content is saved to the specified path. Save files in the database in the database mainly use the TODATABASE method for file objects in the AspUpload component. The source file is as follows: Client source file (UPLOADTODB.HTM):

转载请注明原文地址:https://www.9cbs.com/read-117209.html

New Post(0)