It would be nice if we could use a download manager
with Clamwin. E.g., I use getright for most of my
downloads. Getright allows you to use an antivirus
program to scan completed downloads, but as far as I
can tell there is not way to get Clamwin to scan
specific files as a command line function with the
ability to get input from the user as regards cleaning,
etc.
Logged In: YES
user_id=206810
I hacked up a quick app (It's not pretty, but it does the
job) in C# that you can get from
http://www.kyhwana.org/clamwinscanner-0.1.zip
Basically if you just drop it into the same directory as
clamscan.exe and have getright/whatever call it with the
file path/directory(ies) to scan it'll open a window with
the scanning process/results.
(It basically just captures stdout/err from clamscan.exe)
If anyone has Windows 9x/ME and would be willing to test it,
that'd be great. I don't think it'll work in 9x/ME because
of the path of the clamAV database file. (See the readme)
Logged In: YES
user_id=1148218
Does it matter if clamwin is installed in a directory other
than c:\program files?
Trying to use with Free Download Manager. The arguments
contains this: %file%
i get this error:
An unhandled exception has occured in your application. If
you click Continue, the application will ignore this error
and attempt to continue. If you click Quit, the application
will be shut down immediately.
The directory name is invalid.
Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
** Exception Text **
System.ComponentModel.Win32Exception: The directory name is
invalid
at
System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo
startInfo)
at System.Diagnostics.Process.Start()
at clamwinscanner.MainForm.startscanprocess(String scandir)
at clamwinscanner.MainForm.MainFormLoad(Object sender,
EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at
System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at
System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
** Loaded Assemblies **
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
clamwinscanner
Assembly Version: 1.0.1961.24731
Win32 Version: 1.0.1961.24731
CodeBase:
file:///C:/Software/applications/ClamWin/bin/clamwinscanner.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system/1.0.5000.0b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase:
file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/windows/assembly/gac/accessibility/1.0.5000.0b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
** JIT Debugging **
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true"/>
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.