Uploading. Wait... 54 Percent Complete. - WeOnlyDo Discussion board

Uploading. Wait... 54 Percent Complete. (wodFtpDLX / wodFtpDLX.NET)

by Chun Haw, Loo, Thursday, March 13, 2008, 14:04 (5889 days ago)

I am developing a web application using classic asp with FTPDLX to let user to browse a local file using a form on my web page and upload it to the server.

1. How to create a pop up window that show the upload progress on my web page? i.e. Uploading. Wait... 54 Percent complete.

2. How to use resume function in my asp script?

3. How to deal with server timeout especially dealing with large file size?

Please advice. Thanks.

Regards,
Chun Haw, Loo

Re: Uploading. Wait... 54 Percent Complete.

by woddrazen, Thursday, March 13, 2008, 14:21 (5889 days ago) @ Chun Haw, Loo

Hi Chun Haw,


I will try to answer to your questions:

1. We have Progress Event but unfortunately you can't use it because ASP is scripting environment and Events can't be used there.

2 You can use wodFtpDLX Resume Property and set it's value to 1 before Connect Method.

3. Here is example how to increase server timeout.

[code]
<
Server.ScriptTimeout = 1800
>
[/code]

More info you can find here:
http://classicasp.aspfaq.com/general/how-do-i-increase-timeout-values.html

To increase wodFtpDLX timeout please set Timeout Property to some value in seconds or set it to 0 for unlimited time (no auto disconnect from server).

Let us know how it goes.


Regards,
Drazen

Re: Uploading. Wait... 54 Percent Complete.

by Chun Haw Loo, Friday, March 14, 2008, 06:51 (5888 days ago) @ woddrazen

Hi Chun Haw,


I will try to answer to your questions:

1. We have Progress Event but unfortunately you can't use it because ASP is scripting environment and Events can't be used there.

2 You can use wodFtpDLX Resume Property and set it's value to 1 before Connect Method.

3. Here is example how to increase server timeout.

[code]
<
Server.ScriptTimeout = 1800
>
[/code]

More info you can find here:
http://classicasp.aspfaq.com/general/how-do-i-increase-timeout-values.html

To increase wodFtpDLX timeout please set Timeout Property to some value in seconds or set it to 0 for unlimited time (no auto disconnect from server).

Let us know how it goes.


Regards,
Drazen

Thanks Drazen. On the question #1, do you have alternative suggestion to show the upload progress? Currently, when we upload the file, it only utilised the internet explorer status bar to indicate the progress but not many user will notice that. It will be great if we can show a progress bar on the web page itself while uploading in progress. Please advice. Thanks.

Regards,
Chun Haw, Loo

Re: Uploading. Wait... 54 Percent Complete.

by wodDamir, Friday, March 14, 2008, 09:31 (5888 days ago) @ Chun Haw Loo

Hi Chun Haw,

Unfortunately, No. As Drazen said, ASP doesn't have Event handling, so it's not possible to implement Progress Event.

Regards,
Damba

Re: Uploading. Wait... 54 Percent Complete.

by Chun Haw Loo, Friday, March 14, 2008, 12:45 (5888 days ago) @ wodDamir

Hi Chun Haw,

Unfortunately, No. As Drazen said, ASP doesn't have Event handling, so it's not possible to implement Progress Event.

Regards,
Damba

Thanks.