Registering FTP on Windows 2003 64bit

Support for all customers who have purchased or received a Productivity Pack Support product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
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 » Thu Aug 06, 2009 9:55 am

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: 6906
Joined: Tue May 29, 2007 4:43 pm

Registering FTP on Windows 2003 64bit

Post by Alexander Riedel » Thu Aug 06, 2009 10:04 am

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 » Thu Aug 06, 2009 10:07 am

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 » Thu Aug 06, 2009 10:51 am

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: 6906
Joined: Tue May 29, 2007 4:43 pm

Registering FTP on Windows 2003 64bit

Post by Alexander Riedel » Fri Aug 07, 2009 5:43 am

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 » Fri Aug 07, 2009 3:58 pm

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