Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 419
  • Last Modified:

Best uploading with progress

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
Short-Order-Coder
Asked:
Short-Order-Coder
  • 5
  • 4
  • 2
2 Solutions
 
_agx_Commented:
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
 
ZvonkoSystems architectCommented:
By the way, Gmail is doing now also some fine progress bar display for the attachments upload: uploaderapi2.swf
0
 
ZvonkoSystems architectCommented:
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
_agx_Commented:
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
 
Short-Order-CoderAuthor Commented:
Are flash forms something that can be whipped up in Deramweaver?  Flash makes me itch.
0
 
Short-Order-CoderAuthor Commented:
I'd be fine writing the code for a flash form, Suggestion for a good place to find codebase?
0
 
_agx_Commented:
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
 
Short-Order-CoderAuthor Commented:
Thanks experts.  This works perfectly.
0
 
_agx_Commented:
Short-Order-Coder,

Just curious, but if it works perfectly .. why the B grade ? ;-)
0
 
Short-Order-CoderAuthor Commented:
This should be an A grade.  Not really sure why it's marked as B.
0
 
_agx_Commented:
Ah, okay.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

  • 5
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now