Web Tools and Component: File Upload,Flash Chart

 
JOBDAO HOME Products Download Purchase Support

  JobdaoUpload File Upload component - Live Demo

Feature | User Manual | Live Demos | Download & Purchase

Easy to use, hi-performance ASP file upload component.

Why wait? Put JobdaoUpload to work now! Upload a few files to our server using the demo applications below.

1. Simple uploads.
This demo allows you to upload up to three files simultaneously.

fm_path=Server.mappath("uploadfile")
set jdupload=Server.CreateObject("JobdaoUpload.Upload")

Set jdfile1=jdupload("FILE1")
jdfile1.saveas fm_path & "/" & jdfile1.FileName, true
ret=ret&"<a href=""uploadfile/"&jdfile1.FileName&""" target=_blank>"&jdfile1.FileName&"</a><br>"

Set jdfile2=jdupload("FILE2")
jdfile2.saveas fm_path & "/" & jdfile2.FileName, true
ret=ret&"<a href=""uploadfile/"&jdfile2.FileName&""" target=_blank>"&jdfile2.FileName&"</a><br>"

Set jdfile3=jdupload("FILE3")
jdfile3.saveas fm_path & "/" & jdfile3.FileName, true

2. File and form item uploads.
Demonstrates uploading text items along with files.

set jdupload=Server.CreateObject("JobdaoUpload.Upload")
if(jdupload("action")<>"") then
ret="<font color=red>Result:</font><br>"

Set jdfile=jdupload("FILE")
jdfile.saveas fm_path & "/" & jdfile.FileName, true
ret=ret&"<a href=""uploadfile/"&jdfile.FileName&""" target=_blank>"&jdfile.FileName&"</a><br>"

ret=ret&"Title:"&jdupload("Title")&"<br>"
ret=ret&"Description:"&jdupload("Description")&"<br>"

end if

3. Product's image file and its information uploads.
Demonstrates uploading some product information text items  along with image file.

fm_path=Server.mappath("uploadfile")
ret=""

set jdupload=Server.CreateObject("JobdaoUpload.Upload")
if(jdupload("action")<>"") then
jdupload.MaxSize=1000000
ret="<font color=red>Result:</font><br>"

Set jdfile=jdupload("FILE")
if(jdfile.Size>jdupload.MaxSize) then
  ret=ret&("The file size is more than 1M!")
elseif(Instr(1,jdfile.ContentType,"image",1)=0) then
  ret=ret&("The file you uploaded is not a image!")
else
  picfilename="productpic."&jdfile.FileExt
  jdfile.saveas fm_path&"/"&picfilename,true

  ret=ret&"<a href=""uploadfile/"&picfilename&""" target=_blank>"&picfilename&"</a><br>"

  ret=ret&"Name:"&jdupload("Name")&"<br>"
  ret=ret&"Description:"&jdupload("Description")&"<br>"
end if
end if
 

 

Feature | User Manual | Live Demos | Download & Purchase

Just $49, Order JobdaoUpload now!

Want to try it?  Download your free 30-day evaluation copy of JobdaoUpload

 

Copyright © 2006-2007 Jobdao. All Rights Reserved.