Solved

Best uploading with progress

Posted on 2009-05-07
12
412 Views
Last Modified: 2013-12-24
As part of a form, I need to allow users to upload a PDF,  It will replace an existing PDF on the server if needed.

I would like to show a (upload) progress bar if possible.

What is the best way to handle this in CF8? Is this something built into CF8?

THANKS EXPERTS!!!!
0
Comment
Question by:Short-Order-Coder
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
12 Comments
 
LVL 52

Expert Comment

by:_agx_
ID: 24328917
No, there is nothing built into ColdFusion.   But there are tools you can use to create or simulate a progress bar.  This thread summarizes the options pretty well.
http://www.experts-exchange.com/Web_Development/Software/ColdFusion_Studio/Q_22562424.html

.. and includes a link to one option: a flash form upload with progress bar
http://www.asfusion.com/examples/item/file-upload-with-coldfusion-flash-forms
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 24329291
By the way, Gmail is doing now also some fine progress bar display for the attachments upload: uploaderapi2.swf
0
 
LVL 63

Assisted Solution

by:Zvonko
Zvonko earned 50 total points
ID: 24329366
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 52

Expert Comment

by:_agx_
ID: 24329432
Basically, to do a real progress bar you need to access information from the client machine. Due to browser security restrictions, that requires something like a flash swf file (like in my link above) or an activeX control.  Otherwise, you only simulate one.
0
 

Author Comment

by:Short-Order-Coder
ID: 24339600
Are flash forms something that can be whipped up in Deramweaver?  Flash makes me itch.
0
 

Author Comment

by:Short-Order-Coder
ID: 24339610
I'd be fine writing the code for a flash form, Suggestion for a good place to find codebase?
0
 
LVL 52

Accepted Solution

by:
_agx_ earned 450 total points
ID: 24339871
Check out the article at asfusion. It is very simple.  All the flash is packaged up for you.  Just download the code and use a small bit of CF code and you are ready to go:

http://www.asfusion.com/blog/entry/file-upload-with-coldfusion-flash-forms
http://www.asfusion.com/examples/item/file-upload-with-coldfusion-flash-forms
<!--- syntax example from asfusion.com --->
<!--- requires download of custom tag --->
<cf_flashUpload name="defaultInput" actionFile="upload.cfm">
   <cf_flashUploadInput />
</cf_flashUpload>

Open in new window

0
 

Author Closing Comment

by:Short-Order-Coder
ID: 31579136
Thanks experts.  This works perfectly.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 24360041
Short-Order-Coder,

Just curious, but if it works perfectly .. why the B grade ? ;-)
0
 

Author Comment

by:Short-Order-Coder
ID: 24360138
This should be an A grade.  Not really sure why it's marked as B.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 24360162
Ah, okay.  
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question