Page 1 of 1

Registering FTP on Windows 2003 64bit

Posted: Thu Aug 06, 2009 9:55 am
by guilfordt@email.msn.com
Registering ftp.dll on 32 bit works fine, but I get this error when trying to register on 64bit w2003 -

LoadLibrary("ftp.dll") failed - The specified module could not be found.

Tried both system32 and sysWOW64 regsvr32.exe

Thks

Registering FTP on Windows 2003 64bit

Posted: Thu Aug 06, 2009 10:04 am
by Alexander Riedel
You are missing some dll it depends on.
Download dependency checker from here:
http://www.dependencywalker.com/

It will show what you are missing.
I'd look but I have no Windows 2003 64bit VM anywhere right now.

Alex

Registering FTP on Windows 2003 64bit

Posted: Thu Aug 06, 2009 10:07 am
by guilfordt@email.msn.com
Copied ftp.dll directly into sysWOW64 and it seemed to register fine.

Registering FTP on Windows 2003 64bit

Posted: Thu Aug 06, 2009 10:51 am
by guilfordt@email.msn.com
Well it did register successfully, but the ftp script errors: Sapien FTP Object not available on this computer.
I'll try the dependency checker tomorrow, thks

Registering FTP on Windows 2003 64bit

Posted: Fri Aug 07, 2009 5:43 am
by Alexander Riedel
You can't use a 32 bit COM object from a 64 bit script.
I am assuming you are using VBScript or PowerShell to access this and on a 64 bit OS they default to using the 64 bit engine.

Registering FTP on Windows 2003 64bit

Posted: Fri Aug 07, 2009 3:58 pm
by guilfordt@email.msn.com
ahhhh, yes that's it. Checked taskmgr and wscript was running 64 bit. Ran wscript from the syswow64 directory and ftp worked fine.

Thanks for the help!

Don't know if I needed to use the 32 bit regsvr32 to register?