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.
This topic is 14 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
guilfordt@email.msn.com
Posts: 4
Last visit: Mon Oct 28, 2013 11:37 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: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

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
Last visit: Mon Oct 28, 2013 11:37 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
Last visit: Mon Oct 28, 2013 11:37 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: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

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
Last visit: Mon Oct 28, 2013 11:37 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?
This topic is 14 years and 7 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.