NetTalk Central

Author Topic: File Upload With Progress Bar  (Read 3667 times)

bramkip

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • Intellisoft
    • Email
File Upload With Progress Bar
« on: August 04, 2009, 01:50:57 PM »
Hi,

I'm using the NTWS Upload button, and want to implement a progress bar.
Or is it better to use a JavaScript for uploading files?
I saw a nice Upload script on http://www.radinks.com/downloads/upload.php
but doesn't know how to implement this in my NTWS app.

Can anyone help me with this?

Thanks.

Best regards,
Bram Kip


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: File Upload With Progress Bar
« Reply #1 on: August 04, 2009, 10:48:49 PM »
That example uses Java (not JavaScript) so is probably not an ideal way to go.
(at least their online demo does.)

Cheers
Bruce

bramkip

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • Intellisoft
    • Email
Re: File Upload With Progress Bar
« Reply #2 on: August 04, 2009, 11:38:31 PM »
Hi Bruce,

Indeed I see now that's no JavaScript. I saw another Progress bar on:
http://www.dhtmlgoodies.com/index.html?whichScript=progress_bar

Can you tell me where (in which embeds) to put the code in?

Thanks

Bram

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: File Upload With Progress Bar
« Reply #3 on: August 05, 2009, 06:51:26 AM »
that's a progress bar, yes, but it's not linked to the file upload. Uploading the file without submitting the page is the important bit because the common browser upload button works on a submit. And there's no way to update, or indeed even determine the boundaries of, the progress bar while that's happening.

Cheers
Bruce