Done event in ASP - WeOnlyDo Discussion board

Done event in ASP (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Vax, Monday, April 25, 2005, 17:12 (6951 days ago)

I use the GetFile method to transfer a file from a unix server to a win2000 WebServer. I haven't understood how I can get the Done Event in my asp code...
Can anyone explain with a short sample code?

Regards, Marco

Re:

by wodSupport, Monday, April 25, 2005, 20:24 (6951 days ago) @ Vax

Vax,

you can't use events in ASP. FOr this purpose we have Blocking = True setting, so you put component in blocking mode. When you call GetFile, it doesn't return until file is retrieved.

Anyway, async model makes no sense in ASP - it cannot run in the background while page is already delivered to the client.