These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Dundas plugin?

The server I am currently on has Dundas on it.
http://dundas.com
i was wondering if someone has alread made a plugin to support Dundas or if someone could make one quickly (i hear how it's supposed to be so quick ;)) or if someone could explain how in more detail than i what i have picked up from reading the source of the generic plugin. I know some vbscript but i am not very farmiliar with classes so i am having a bit of trouble doing it myself. I also dont know much about the way that html moves the different data around - like when you get the file name and stuff like that. So as you can see I am disadvantaged in two ways.
the documentation for dundas can be obtained from their website.
Thanx, I really enjoyed webexplorer when it worked on my other server. :)
CH_2005
p.s. this is a nice little forum you have here :)
CH_2005 9/26/2003 3:59 PM
Hi,
Sorry, I can't provide upload plugins for WebExplorer Free. I think it is very easy to implement one yourself though.

You don't have to deal with HTML, you should just prepare a ASP file with the following specification:


    ' File Transfer Plugin Name
    ' Required component
    ' URL to the component

    ' Standard Class for File Transfer Plugin
    Class pluginFileTransfer
        Public path
        Public uploadedFileName, uploadedFileSize
        Public contentType
        
        ' Create objects required by the plugin
        ' The 3rd party component etc.
        Private Sub Class_Initialize()

        End Sub
        
        ' Destroy objects
        Private Sub Class_Terminate()

        End Sub
    
        ' Upload the posted file
        ' Return values: 0 - success, 1 - no file sent, 2 - path not found, 3 - write error, 4 - extension not allowed
        ' The public variable path (save location) should be set prior to calling this function.
        ' The public variables uploadedFileName, uploadedFileSize and contentType should be set before exiting this function.
        Public Function Upload()

        End Function
        
        ' Download the file with the given name at current path
        ' Return values: 0 - success, 1 - file not found, 2 - read error
        Public Function Download(fileName)

        End Function

' --- Internal variables and functions specific to this plugin only (non standard) ---
        ' Here, the private variables, functions  specific to this plugin can be defined.

    End Class
Cem Alacayir 10/7/2003 12:33 PM
Cem,

Can you provide an example on how to achieve such a new class function, for ex. using with SA-FileUp?
Martin Graeff 11/10/2003 6:58 AM
Hi Martin,
Sorry, I can't provide upload plugins for WebExplorer Free currently. You should use the above class specification. Please refer to SA-FileUp documentation for its specific functions. You may examine WexGeneric.asp for a working example.
Cem Alacayir 11/16/2003 9:44 PM