[Mod_ftpd] win32 support for mod_ftpd

Edward Rudd urkle at outoforder.cc
Tue Jan 4 21:17:40 EST 2005


On Tue, 2005-01-04 at 07:05, Yussef Alkhamrichi wrote:
[snip]

> First I fetched the latest version from the trunk from the subversion 
> repository. Then I've created a VS.NET 2003 C++ project to compile this 
> module and then I encountered the following things:
> 
> - the PACKAGE_NAME"/"PACKAGE_VERSION string thing doesn't work nicely in 
> VC++, this has to be changed (minor item)

I had no problem with that when I compiled with the MS VC toolkit
compiler (free commandline only). Make sure you copied the winconfig.h
file to config.h and specified HAVE_CONFIG_H define to the compile
options.

> - the FTPD_DECLARE(_....) defines include dllimport/dllexport directives, 
> the problem is that inside a .c file the definition of a function may not 
> have the dllimport directive, my question is: why do we need 
> dllimport/export on WIN32, the .so module is linked against the Apache API, 
> why the need for extra external hooks?

these are exported for the provider modules (mod_ftpd_dbm for example).

> - I've a problem compiling the following line from ftp_core.c:
> 
> AP_OPTIONAL_HOOK(status_hook,status_hook,NULL,NULL,APR_HOOK_MIDDLE);

you can safely comment that line out.. that is using a feature of apache
2.0.49 (I think) and above. I hadn't finished implementing the hook yet
(it would add extra text onto the /server-status page)

[snip]

> 
> It would be nice to get this great module running on Win32 :)

yeah, I just need someone with a debugger and good debugging skills to
figure why mod_ftpd crashes apache when you try and transfer a file. I
can login and navigate fine, just pulling a file crokes apache on
windows.

> Grtx,
> 
> Yussef

-- 
Edward Rudd <urkle at outoforder.cc>
Website http://www.outoforder.cc/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/mod_ftpd/attachments/20050104/560c04c6/attachment.bin


More information about the Mod_ftpd mailing list