| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Event Handling - ASP |
| krisrajz From: Chennai, India Posts: 4 Member Since: 11/17/04 |
posted November 17, 2004 7:09 AM I have an ASP page through which I upload files using FTP ActiveX, and while doing so I want to update the user about the amount of bytes being transfered. How should I impletement the Progress event in my asp page? Here's what I did (VBScript) Sub Ftp1_Progress(FtpCmd,Status,Reply,Count,Size) If Status = 0 Then 'ok status.innerText="Upload completed" ElseIf Status = 1 Then 'progress status.innerText=Count & " bytes transfered of " & size End If End Sub <DIV ID="status"></DIV> I've instantiated the component using MicroSoft's ActiveX Control Pad, and I was able to upload files. When I try to use any of the arguments to the event Progress it throws me an error : Object required: Status What's the fix? RAJ. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 17, 2004 9:04 AM You can't use events in ASP. You could do it if you used ASP.NET. There are many topics on the forum that deal with this (I found them by searching for "ASP and Progress") Here is one to get you started: http://support.dart.com/postings?topicid=2890 |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|