Registering FTP on Windows 2003 64bit

This forum can be browsed by the general public. Posting is no longer allowed as the product has been discontinued.
Locked
User avatar
guilfordt@email.msn.com
Posts: 4
Meble kuchenne na zamówienie - na wymiar - Wrocław
Joined: Thu Aug 06, 2009 9:55 am

Registering FTP on Windows 2003 64bit

Post 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

User avatar
Alexander Riedel
Posts: 7265
Joined: Tue May 29, 2007 4:43 pm

Registering FTP on Windows 2003 64bit

Post 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
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
guilfordt@email.msn.com
Posts: 4
Joined: Thu Aug 06, 2009 9:55 am

Registering FTP on Windows 2003 64bit

Post by guilfordt@email.msn.com »

Copied ftp.dll directly into sysWOW64 and it seemed to register fine.

User avatar
guilfordt@email.msn.com
Posts: 4
Joined: Thu Aug 06, 2009 9:55 am

Registering FTP on Windows 2003 64bit

Post 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

User avatar
Alexander Riedel
Posts: 7265
Joined: Tue May 29, 2007 4:43 pm

Registering FTP on Windows 2003 64bit

Post 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.
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
guilfordt@email.msn.com
Posts: 4
Joined: Thu Aug 06, 2009 9:55 am

Registering FTP on Windows 2003 64bit

Post 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?

Locked