Re: Huge files over 500 MB? (General questions)
Hi there,
I didn't get any callback to the UploadFilename sub, even after I uploaded a file. Here's the code I used. Am I missing something?
I did use the COM control and implemented the interface. I am getting callbacks to other functions such as RequestDone just fine. I'm in VB.NET 2008...
Imports System.IO
Imports System.Text
Public Class Form1
Implements WODWEBSERVERCOMLib.IwodWebNotify
Dim WebServer1 As WODWEBSERVERCOMLib.wodWebServerCom
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
WebServer1 = New WODWEBSERVERCOMLib.wodWebServerCom
WebServer1.LicenseKey = HIDDEN 'Taken out for forum post
WebServer1.Notification = Me
WebServer1.DocumentRoot = C: esthtml
WebServer1.MyHostname = localhost
WebServer1.AllowBrowsing = True
WebServer1.Threads = WODWEBSERVERCOMLib.ThreadTypes.FullThreads
WebServer1.Start()
End Sub
Public Sub CGIStart(ByVal Owner As WODWEBSERVERCOMLib.wodWebServerCom, ByVal User As WODWEBSERVERCOMLib.WebUser, ByVal FullPath As String, ByVal Environment As WODWEBSERVERCOMLib.WebHeaders) Implements WODWEBSERVERCOMLib.IwodWebNotify.CGIStart
End Sub
Public Sub CGIStop(ByVal Owner As WODWEBSERVERCOMLib.wodWebServerCom, ByVal User As WODWEBSERVERCOMLib.WebUser, ByVal success As Boolean) Implements WODWEBSERVERCOMLib.IwodWebNotify.CGIStop
End Sub
Public Sub RequestDone(ByVal Owner As WODWEBSERVERCOMLib.wodWebServerCom, ByVal User As WODWEBSERVERCOMLib.WebUser) Implements WODWEBSERVERCOMLib.IwodWebNotify.RequestDone
End Sub
Public Sub RequestHeaders(ByVal Owner As WODWEBSERVERCOMLib.wodWebServerCom, ByVal User As WODWEBSERVERCOMLib.WebUser) Implements WODWEBSERVERCOMLib.IwodWebNotify.RequestHeaders
User.Request.Uploads.AutoParse = True
End Sub
Public Sub ResponseDone(ByVal Owner As WODWEBSERVERCOMLib.wodWebServerCom, ByVal User As WODWEBSERVERCOMLib.WebUser) Implements WODWEBSERVERCOMLib.IwodWebNotify.ResponseDone
Dim ss As String = User.Request.FullURI
End Sub
Public Sub RunScript(ByVal Owner As WODWEBSERVERCOMLib.wodWebServerCom, ByVal User As WODWEBSERVERCOMLib.WebUser, ByVal ScriptData As String, ByRef ResponseData As String) Implements WODWEBSERVERCOMLib.IwodWebNotify.RunScript
End Sub
Public Sub StateChange(ByVal Owner As WODWEBSERVERCOMLib.wodWebServerCom, ByVal User As WODWEBSERVERCOMLib.WebUser, ByVal OldState As WODWEBSERVERCOMLib.StatesEnum) Implements WODWEBSERVERCOMLib.IwodWebNotify.StateChange
End Sub
Public Sub UploadFilename(ByVal Owner As WODWEBSERVERCOMLib.wodWebServerCom, ByVal User As WODWEBSERVERCOMLib.WebUser, ByVal Part As WODWEBSERVERCOMLib.WebRequestUploadPart) Implements WODWEBSERVERCOMLib.IwodWebNotify.UploadFilename
'Code does not even execute to here
Part.Filename = c:igone.zip
End Sub
Public Sub UserAuthenticate(ByVal Owner As WODWEBSERVERCOMLib.wodWebServerCom, ByVal User As WODWEBSERVERCOMLib.WebUser, ByVal AuthType As WODWEBSERVERCOMLib.WebAuthenticationTypes, ByRef Action As WODWEBSERVERCOMLib.WebActions) Implements WODWEBSERVERCOMLib.IwodWebNotify.UserAuthenticate
End Sub
Public Sub UserConnected(ByVal Owner As WODWEBSERVERCOMLib.wodWebServerCom, ByVal User As WODWEBSERVERCOMLib.WebUser, ByRef Action As WODWEBSERVERCOMLib.WebActions) Implements WODWEBSERVERCOMLib.IwodWebNotify.UserConnected
End Sub
Public Sub UserDisconnected(ByVal Owner As WODWEBSERVERCOMLib.wodWebServerCom, ByVal User As WODWEBSERVERCOMLib.WebUser) Implements WODWEBSERVERCOMLib.IwodWebNotify.UserDisconnected
End Sub
End Class
Going to update and try out the current version now, I'll let you know how it goes...
Complete thread:
- Huge files over 500 MB? - Simon, 2010-03-15, 01:55
- Re: Huge files over 500 MB? - Simon, 2010-03-15, 01:57
- Re: Huge files over 500 MB? - cyman, 2010-03-15, 07:42
- Re: Huge files over 500 MB? - wodDamir, 2010-03-15, 09:50
- Re: Huge files over 500 MB? - cyman, 2010-03-15, 17:02
- Re: Huge files over 500 MB? - wodSupport, 2010-03-15, 17:51
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 00:14
- Re: Huge files over 500 MB? - wodSupport, 2010-03-17, 00:23
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 00:37
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 00:49
- Re: Huge files over 500 MB? - wodSupport, 2010-03-17, 00:52
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 01:17
- Re: Huge files over 500 MB? - wodSupport, 2010-03-17, 01:19
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 02:51
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 03:02
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 03:14
- Re: Huge files over 500 MB? - wodSupport, 2010-03-19, 13:21
- Re: Huge files over 500 MB? - cyman, 2010-03-19, 21:39
- Re: Huge files over 500 MB? - wodSupport, 2010-03-19, 21:40
- Re: Huge files over 500 MB? - wodSupport, 2010-03-19, 21:40
- Re: Huge files over 500 MB? - cyman, 2010-03-19, 22:09
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 04:38
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 09:08
- Re: Huge files over 500 MB? - wodSupport, 2010-03-21, 11:24
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 20:21
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 20:23
- Re: Huge files over 500 MB? - wodDamir, 2010-03-21, 20:59
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 21:10
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 23:46
- Re: Huge files over 500 MB? - wodDamir, 2010-03-22, 00:06
- Re: Huge files over 500 MB? - cyman, 2010-03-22, 02:45
- Re: Huge files over 500 MB? - wodDamir, 2010-03-22, 00:06
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 23:46
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 21:10
- Re: Huge files over 500 MB? - wodDamir, 2010-03-21, 20:59
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 20:23
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 20:21
- Re: Huge files over 500 MB? - wodSupport, 2010-03-21, 11:24
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 09:08
- Re: Huge files over 500 MB? - cyman, 2010-03-21, 04:38
- Re: Huge files over 500 MB? - cyman, 2010-03-19, 22:09
- Re: Huge files over 500 MB? - wodSupport, 2010-03-19, 21:40
- Re: Huge files over 500 MB? - wodSupport, 2010-03-19, 21:40
- Re: Huge files over 500 MB? - cyman, 2010-03-19, 21:39
- Re: Huge files over 500 MB? - wodSupport, 2010-03-19, 13:21
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 03:14
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 03:02
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 02:51
- Re: Huge files over 500 MB? - wodSupport, 2010-03-17, 01:19
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 01:17
- Re: Huge files over 500 MB? - wodSupport, 2010-03-17, 00:52
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 00:49
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 00:37
- Re: Huge files over 500 MB? - wodSupport, 2010-03-17, 00:23
- Re: Huge files over 500 MB? - cyman, 2010-03-17, 00:14
- Re: Huge files over 500 MB? - wodSupport, 2010-03-15, 17:51
- Re: Huge files over 500 MB? - cyman, 2010-03-15, 17:02
- Re: Huge files over 500 MB? - wodDamir, 2010-03-15, 09:50
- Re: Huge files over 500 MB? - cyman, 2010-03-15, 07:42
- Re: Huge files over 500 MB? - Simon, 2010-03-15, 01:57