Web Tools and Component: File Upload, Flash Chart, Flash Stars Rating, Flash Calendar

 
JOBDAO HOME Products Download Purchase Support

  JobdaoUpload File Upload component - User Manual

System Requirements | Install | Reference | FAQs

Reference


You can get more detail for programmer reference by clicking the object link below.

Object Properties Methods
Upload Item, Count, MaxSize, PageCode, About  
UploadFile Name, Content, FileName, FilePath, Size, ContentType, FileExt SaveAs


Why wait? Put JobdaoUpload to work now! Upload a few files to our server using the demo applications.
Just click here you can view the live demo and its sample source code.

 

Upload Object


A Form Item object represents a form item in the POST form used for uploading.

 

Item Property
This property represents the value of a particular item in the dictionary. This is used to maintain compatibility with the ASP Request object. Read Only

jdupload.Item("key") is equivalent to jdupload("key"). It is the Item property that allows this to occur.

Usage:

Set jdupload = Server.CreateObject("JobdaoUpload.Upload")
Response.Write ("The title is " & jdupload.Item("title"))
Response.Write ("The title is " & jdupload("title"))

 

Count Property
This property displays the number of items in the dictionary. Read Only

Usage:

Set jdupload = Server.CreateObject("JobdaoUpload.Upload")
Response.Write ("The number of items in the form is " & jdupload.Count )

 

MaxSize Property
The maximum acceptable size of a file, in bytes. The property either returns the current value of MaxSize, or allows a new limit to be set. Read/write

Usage:

Set jdupload = Server.CreateObject("JobdaoUpload.Upload")
'set a size limit of approximately 2mb
jdupload.MaxSize=2000000

 

PageCode Property
This property enables translation of characters in POSTed text items and file names from the specified code page to Unicode. If the data is posted in the UTF-8 format, set this property to 65001. Other valid values include, but are not limited to, 65535(Auto detect specified code), 1251 (Cyrillic), 1255 (Hebrew), 1256 (Arabic), etc.  Read/write

Usage:

Set jdupload = Server.CreateObject("JobdaoUpload.Upload")
'set the pagecode to utf-8
jdupload.PageCode=65001

 

About Property
This property displays the copyright of component. If you are using trial version, it also will tell you the expired day. Read Only

Usage:

Set jdupload = Server.CreateObject("JobdaoUpload.Upload")
Response.Write (jdupload.About)

 

Copyright © 2006-2007 Jobdao. All Rights Reserved.